Post Document Using API
For to post the Document through Postman App. We have to create authorization.
Just click on authorization and select API Key and basic auth. from type.
And provide the link for to post the document .
Link -
[Link]
for to post the document we have to create code as per our requirement and then click on
send.
And then check status.
Then check response.
And execute through the browser.
Program –
<?xml version="1.0" encoding="UTF-8" ?>
<salesOrder>
<salesOrderType>
<SoldToParty>17100001</SoldToParty>
<DistributionChannel>10</DistributionChannel>
<SalesOrderType>OR</SalesOrderType>
<OrganizationDivision>00</OrganizationDivision>
<SalesOrganization>1710</SalesOrganization>
<PurchaseOrderByCustomer>45000049106</PurchaseOrderByCustomer>
<lineItem>
<Material>MZ-TG-Y200</Material>
<SalesOrderItem>10</SalesOrderItem>
<RequestedQuantityUnit>PC</RequestedQuantityUnit>
<NetAmount>89</NetAmount>
</lineItem>
<lineItem>
<Material>MZ-FG-M550</Material>
<SalesOrderItem>20</SalesOrderItem>
<RequestedQuantityUnit>PC</RequestedQuantityUnit>
<NetAmount>75</NetAmount>
</lineItem>
</salesOrderType>
</salesOrder>