POST api/MaritechDGS/Country

Request Information

URI Parameters

None.

Body Parameters

Collection of Country
NameDescriptionTypeAdditional 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-05-23T22:30:51.2684025+02:00",
    "createdByUser": "sample string 7",
    "changedDateTime": "2025-05-23T22:30:51.2684025+02:00",
    "changedByUser": "sample string 9"
  },
  {
    "countryNo": 1,
    "ISOCode": "sample string 2",
    "name": "sample string 3",
    "nationalCode1": "sample string 4",
    "nationalCode2": "sample string 5",
    "createdDateTime": "2025-05-23T22:30:51.2684025+02:00",
    "createdByUser": "sample string 7",
    "changedDateTime": "2025-05-23T22:30:51.2684025+02:00",
    "changedByUser": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountry xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Country>
    <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-05-23T22:30:51.2684025+02:00</createdDateTime>
    <createdByUser>sample string 7</createdByUser>
    <changedDateTime>2025-05-23T22:30:51.2684025+02:00</changedDateTime>
    <changedByUser>sample string 9</changedByUser>
  </Country>
  <Country>
    <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-05-23T22:30:51.2684025+02:00</createdDateTime>
    <createdByUser>sample string 7</createdByUser>
    <changedDateTime>2025-05-23T22:30:51.2684025+02:00</changedDateTime>
    <changedByUser>sample string 9</changedByUser>
  </Country>
</ArrayOfCountry>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.