POST api/Country
Request Information
URI Parameters
None.
Body Parameters
Country| Name | Description | Type | Additional information |
|---|---|---|---|
| countryNo | integer |
None. |
|
| ISOCode | string |
None. |
|
| name | string |
None. |
|
| nationalCode1 | string |
None. |
|
| nationalCode2 | string |
None. |
|
| createdDateTime | date |
None. |
|
| createdByUser | string |
None. |
|
| changedDateTime | date |
None. |
|
| changedByUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"countryNo": 1,
"ISOCode": "sample string 2",
"name": "sample string 3",
"nationalCode1": "sample string 4",
"nationalCode2": "sample string 5",
"createdDateTime": "2025-11-29T15:07:57.1890249+01:00",
"createdByUser": "sample string 7",
"changedDateTime": "2025-11-29T15:07:57.1890249+01:00",
"changedByUser": "sample string 9"
}
application/xml, text/xml
Sample:
<Country xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <countryNo>1</countryNo> <ISOCode>sample string 2</ISOCode> <name>sample string 3</name> <nationalCode1>sample string 4</nationalCode1> <nationalCode2>sample string 5</nationalCode2> <createdDateTime>2025-11-29T15:07:57.1890249+01:00</createdDateTime> <createdByUser>sample string 7</createdByUser> <changedDateTime>2025-11-29T15:07:57.1890249+01:00</changedDateTime> <changedByUser>sample string 9</changedByUser> </Country>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Country| Name | Description | Type | Additional information |
|---|---|---|---|
| countryNo | integer |
None. |
|
| ISOCode | string |
None. |
|
| name | string |
None. |
|
| nationalCode1 | string |
None. |
|
| nationalCode2 | string |
None. |
|
| createdDateTime | date |
None. |
|
| createdByUser | string |
None. |
|
| changedDateTime | date |
None. |
|
| changedByUser | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"countryNo": 1,
"ISOCode": "sample string 2",
"name": "sample string 3",
"nationalCode1": "sample string 4",
"nationalCode2": "sample string 5",
"createdDateTime": "2025-11-29T15:07:57.1900675+01:00",
"createdByUser": "sample string 7",
"changedDateTime": "2025-11-29T15:07:57.1910671+01:00",
"changedByUser": "sample string 9"
}
application/xml, text/xml
Sample:
<Country xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <countryNo>1</countryNo> <ISOCode>sample string 2</ISOCode> <name>sample string 3</name> <nationalCode1>sample string 4</nationalCode1> <nationalCode2>sample string 5</nationalCode2> <createdDateTime>2025-11-29T15:07:57.1900675+01:00</createdDateTime> <createdByUser>sample string 7</createdByUser> <changedDateTime>2025-11-29T15:07:57.1910671+01:00</changedDateTime> <changedByUser>sample string 9</changedByUser> </Country>