POST api/postalcodes/AddPostalCode

Request Information

URI Parameters

None.

Body Parameters

PostalCode
NameDescriptionTypeAdditional information
CountryId

string

None.

PostalCodeId

string

None.

PostalDescription

string

None.

InsUpdDate

date

None.

Region

string

None.

Request Formats

application/xml, text/xml

Sample:
<PostalCode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CountryId>sample string 1</CountryId>
  <PostalCodeId>sample string 2</PostalCodeId>
  <PostalDescription>sample string 3</PostalDescription>
  <InsUpdDate>2024-11-23T04:06:31.6047245+01:00</InsUpdDate>
  <Region>sample string 4</Region>
</PostalCode>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Keys>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
  </Keys>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>