POST api/DispatchAdvice/PostDispatchAdviceClose

Request Information

URI Parameters

None.

Body Parameters

DispatchAdviceClose
NameDescriptionTypeAdditional information
DispatchAdviceYear

integer

None.

DispatchAdviceBook

string

None.

DispatchAdviceNumber

integer

None.

CloseIfPostedToWarehouse

boolean

None.

Request Formats

application/xml, text/xml

Sample:
<DispatchAdviceClose xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <DispatchAdviceYear>1</DispatchAdviceYear>
  <DispatchAdviceBook>sample string 2</DispatchAdviceBook>
  <DispatchAdviceNumber>3</DispatchAdviceNumber>
  <CloseIfPostedToWarehouse>true</CloseIfPostedToWarehouse>
</DispatchAdviceClose>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateResult
NameDescriptionTypeAdditional information
ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <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>
</UpdateResult>