POST api/ReceivingAdvice/AddLinkReceivingAdviceToPurchaseOrder

Request Information

URI Parameters

None.

Body Parameters

ReceivingAdviceToPurchaseOrderHeader
NameDescriptionTypeAdditional information
ReceivingAdviceYear

integer

None.

ReceivingAdviceBook

string

None.

ReceivingAdviceNumber

integer

None.

ReceivingAdviceLineNumber

integer

None.

LinkLines

LinkWLines_

None.

Request Formats

application/xml, text/xml

Sample:
<ReceivingAdviceToPurchaseOrderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ReceivingAdviceYear>1</ReceivingAdviceYear>
  <ReceivingAdviceBook>sample string 1</ReceivingAdviceBook>
  <ReceivingAdviceNumber>1</ReceivingAdviceNumber>
  <ReceivingAdviceLineNumber>1</ReceivingAdviceLineNumber>
  <LinkLines>
    <LinkLine>
      <LineSEQNumber>1</LineSEQNumber>
      <PurchaseOrderYear>2</PurchaseOrderYear>
      <PurchaseOrderBook>sample string 3</PurchaseOrderBook>
      <PurchaseOrderNumber>4</PurchaseOrderNumber>
      <PurchaseOrderLineNumber>5</PurchaseOrderLineNumber>
      <ReceivedQuantity>1</ReceivedQuantity>
      <QuantitySupplierUOM>1</QuantitySupplierUOM>
      <InsertedBy>sample string 6</InsertedBy>
      <InsertedTime>2024-11-23T04:05:40.877686+01:00</InsertedTime>
      <ModifiedBy>sample string 7</ModifiedBy>
      <ModifiedTime>2024-11-23T04:05:40.877686+01:00</ModifiedTime>
    </LinkLine>
    <LinkLine>
      <LineSEQNumber>1</LineSEQNumber>
      <PurchaseOrderYear>2</PurchaseOrderYear>
      <PurchaseOrderBook>sample string 3</PurchaseOrderBook>
      <PurchaseOrderNumber>4</PurchaseOrderNumber>
      <PurchaseOrderLineNumber>5</PurchaseOrderLineNumber>
      <ReceivedQuantity>1</ReceivedQuantity>
      <QuantitySupplierUOM>1</QuantitySupplierUOM>
      <InsertedBy>sample string 6</InsertedBy>
      <InsertedTime>2024-11-23T04:05:40.877686+01:00</InsertedTime>
      <ModifiedBy>sample string 7</ModifiedBy>
      <ModifiedTime>2024-11-23T04:05:40.877686+01:00</ModifiedTime>
    </LinkLine>
  </LinkLines>
</ReceivingAdviceToPurchaseOrderHeader>

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>