POST api/DeliveryNotes
Request Information
URI Parameters
None.
Body Parameters
DeliveryName | Description | Type | Additional information |
---|---|---|---|
DocEntry | integer |
None. |
|
DocNum | integer |
None. |
|
CardCode | string |
None. |
|
CardName | string |
None. |
|
DocDate | date |
None. |
|
Comments | string |
None. |
|
SalesPersonCode | integer |
None. |
|
DocTotal | decimal number |
None. |
|
PaymentGroupCode | integer |
None. |
|
PriceList | integer |
None. |
|
Series | integer |
None. |
|
DocCurrency | string |
None. |
|
DocRate | decimal number |
None. |
|
DocumentLines | Collection of DeliveryRows |
None. |
|
DocStatus | string |
None. |
|
Udfs | Collection of Udf |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocEntry": 1, "DocNum": 2, "CardCode": "sample string 3", "CardName": "sample string 4", "DocDate": "2025-04-03T20:32:15.9721255-06:00", "Comments": "sample string 6", "SalesPersonCode": 7, "DocTotal": 8.0, "PaymentGroupCode": 9, "PriceList": 10, "Series": 11, "DocCurrency": "sample string 12", "DocRate": 13.0, "DocumentLines": [ { "LineNum": 1, "ItemCode": "sample string 2", "ItemDescription": "sample string 3", "UnitPrice": 4.0, "Quantity": 5.0, "TaxCode": "sample string 6", "TaxRate": "sample string 7", "TaxOnly": "sample string 8", "BaseType": 9, "Currency": "sample string 10", "BaseEntry": 1, "BaseLine": 1, "WarehouseCode": "sample string 11", "DiscountPercent": 12.0, "CostingCode": "sample string 13", "UoMEntry": 14, "ManBtchNum": "sample string 15", "ManSerNum": "sample string 16", "TreeType": "sample string 17", "FatherCode": "sample string 18", "DocumentLinesBinAllocations": [ { "SerialAndBatchNumbersBaseLine": 1, "BinAbsEntry": 2, "Quantity": 3.0 }, { "SerialAndBatchNumbersBaseLine": 1, "BinAbsEntry": 2, "Quantity": 3.0 } ], "UoMMasterData": [ { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "UnitPrice": 4.0, "UnitPriceFC": 5.0 }, { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "UnitPrice": 4.0, "UnitPriceFC": 5.0 } ], "BatchNumbers": [ { "BatchNumber": "sample string 1", "SystemSerialNumber": 2, "Quantity": 3.0 }, { "BatchNumber": "sample string 1", "SystemSerialNumber": 2, "Quantity": 3.0 } ], "SerialNumbers": [ { "SystemSerialNumber": 1, "Quantity": 2.0, "DistNumber": "sample string 3" }, { "SystemSerialNumber": 1, "Quantity": 2.0, "DistNumber": "sample string 3" } ], "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ], "LinesCurrenciesList": [ { "Id": "sample string 1", "DocCurrency": "sample string 2", "Description": "sample string 3", "Price": 4.0 }, { "Id": "sample string 1", "DocCurrency": "sample string 2", "Description": "sample string 3", "Price": 4.0 } ] }, { "LineNum": 1, "ItemCode": "sample string 2", "ItemDescription": "sample string 3", "UnitPrice": 4.0, "Quantity": 5.0, "TaxCode": "sample string 6", "TaxRate": "sample string 7", "TaxOnly": "sample string 8", "BaseType": 9, "Currency": "sample string 10", "BaseEntry": 1, "BaseLine": 1, "WarehouseCode": "sample string 11", "DiscountPercent": 12.0, "CostingCode": "sample string 13", "UoMEntry": 14, "ManBtchNum": "sample string 15", "ManSerNum": "sample string 16", "TreeType": "sample string 17", "FatherCode": "sample string 18", "DocumentLinesBinAllocations": [ { "SerialAndBatchNumbersBaseLine": 1, "BinAbsEntry": 2, "Quantity": 3.0 }, { "SerialAndBatchNumbersBaseLine": 1, "BinAbsEntry": 2, "Quantity": 3.0 } ], "UoMMasterData": [ { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "UnitPrice": 4.0, "UnitPriceFC": 5.0 }, { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "UnitPrice": 4.0, "UnitPriceFC": 5.0 } ], "BatchNumbers": [ { "BatchNumber": "sample string 1", "SystemSerialNumber": 2, "Quantity": 3.0 }, { "BatchNumber": "sample string 1", "SystemSerialNumber": 2, "Quantity": 3.0 } ], "SerialNumbers": [ { "SystemSerialNumber": 1, "Quantity": 2.0, "DistNumber": "sample string 3" }, { "SystemSerialNumber": 1, "Quantity": 2.0, "DistNumber": "sample string 3" } ], "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ], "LinesCurrenciesList": [ { "Id": "sample string 1", "DocCurrency": "sample string 2", "Description": "sample string 3", "Price": 4.0 }, { "Id": "sample string 1", "DocCurrency": "sample string 2", "Description": "sample string 3", "Price": 4.0 } ] } ], "DocStatus": "sample string 14", "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ] }
application/xml, text/xml
Sample:
<Delivery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS.SAP"> <CardCode>sample string 3</CardCode> <CardName>sample string 4</CardName> <Comments>sample string 6</Comments> <DocCurrency>sample string 12</DocCurrency> <DocDate>2025-04-03T20:32:15.9721255-06:00</DocDate> <DocEntry>1</DocEntry> <DocNum>2</DocNum> <DocRate>13</DocRate> <DocStatus>sample string 14</DocStatus> <DocTotal>8</DocTotal> <DocumentLines> <DeliveryRows> <BaseEntry>1</BaseEntry> <BaseLine>1</BaseLine> <BaseType>9</BaseType> <BatchNumbers> <BatchNumbers> <BatchNumber>sample string 1</BatchNumber> <Quantity>3</Quantity> <SystemSerialNumber>2</SystemSerialNumber> </BatchNumbers> <BatchNumbers> <BatchNumber>sample string 1</BatchNumber> <Quantity>3</Quantity> <SystemSerialNumber>2</SystemSerialNumber> </BatchNumbers> </BatchNumbers> <CostingCode>sample string 13</CostingCode> <Currency>sample string 10</Currency> <DiscountPercent>12</DiscountPercent> <DocumentLinesBinAllocations> <DocumentLinesBinAllocations> <BinAbsEntry>2</BinAbsEntry> <Quantity>3</Quantity> <SerialAndBatchNumbersBaseLine>1</SerialAndBatchNumbersBaseLine> </DocumentLinesBinAllocations> <DocumentLinesBinAllocations> <BinAbsEntry>2</BinAbsEntry> <Quantity>3</Quantity> <SerialAndBatchNumbersBaseLine>1</SerialAndBatchNumbersBaseLine> </DocumentLinesBinAllocations> </DocumentLinesBinAllocations> <FatherCode>sample string 18</FatherCode> <ItemCode>sample string 2</ItemCode> <ItemDescription>sample string 3</ItemDescription> <LineNum>1</LineNum> <LinesCurrenciesList> <LinesCurrencies> <Description>sample string 3</Description> <DocCurrency>sample string 2</DocCurrency> <Id>sample string 1</Id> <Price>4</Price> </LinesCurrencies> <LinesCurrencies> <Description>sample string 3</Description> <DocCurrency>sample string 2</DocCurrency> <Id>sample string 1</Id> <Price>4</Price> </LinesCurrencies> </LinesCurrenciesList> <ManBtchNum>sample string 15</ManBtchNum> <ManSerNum>sample string 16</ManSerNum> <Quantity>5</Quantity> <SerialNumbers> <SerialNumbers> <DistNumber>sample string 3</DistNumber> <Quantity>2</Quantity> <SystemSerialNumber>1</SystemSerialNumber> </SerialNumbers> <SerialNumbers> <DistNumber>sample string 3</DistNumber> <Quantity>2</Quantity> <SystemSerialNumber>1</SystemSerialNumber> </SerialNumbers> </SerialNumbers> <TaxCode>sample string 6</TaxCode> <TaxOnly>sample string 8</TaxOnly> <TaxRate>sample string 7</TaxRate> <TreeType>sample string 17</TreeType> <Udfs xmlns:d4p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> </Udfs> <UnitPrice>4</UnitPrice> <UoMEntry>14</UoMEntry> <UoMMasterData> <UoMMasterData> <UnitPrice>4</UnitPrice> <UnitPriceFC>5</UnitPriceFC> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoMMasterData> <UoMMasterData> <UnitPrice>4</UnitPrice> <UnitPriceFC>5</UnitPriceFC> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoMMasterData> </UoMMasterData> <WarehouseCode>sample string 11</WarehouseCode> </DeliveryRows> <DeliveryRows> <BaseEntry>1</BaseEntry> <BaseLine>1</BaseLine> <BaseType>9</BaseType> <BatchNumbers> <BatchNumbers> <BatchNumber>sample string 1</BatchNumber> <Quantity>3</Quantity> <SystemSerialNumber>2</SystemSerialNumber> </BatchNumbers> <BatchNumbers> <BatchNumber>sample string 1</BatchNumber> <Quantity>3</Quantity> <SystemSerialNumber>2</SystemSerialNumber> </BatchNumbers> </BatchNumbers> <CostingCode>sample string 13</CostingCode> <Currency>sample string 10</Currency> <DiscountPercent>12</DiscountPercent> <DocumentLinesBinAllocations> <DocumentLinesBinAllocations> <BinAbsEntry>2</BinAbsEntry> <Quantity>3</Quantity> <SerialAndBatchNumbersBaseLine>1</SerialAndBatchNumbersBaseLine> </DocumentLinesBinAllocations> <DocumentLinesBinAllocations> <BinAbsEntry>2</BinAbsEntry> <Quantity>3</Quantity> <SerialAndBatchNumbersBaseLine>1</SerialAndBatchNumbersBaseLine> </DocumentLinesBinAllocations> </DocumentLinesBinAllocations> <FatherCode>sample string 18</FatherCode> <ItemCode>sample string 2</ItemCode> <ItemDescription>sample string 3</ItemDescription> <LineNum>1</LineNum> <LinesCurrenciesList> <LinesCurrencies> <Description>sample string 3</Description> <DocCurrency>sample string 2</DocCurrency> <Id>sample string 1</Id> <Price>4</Price> </LinesCurrencies> <LinesCurrencies> <Description>sample string 3</Description> <DocCurrency>sample string 2</DocCurrency> <Id>sample string 1</Id> <Price>4</Price> </LinesCurrencies> </LinesCurrenciesList> <ManBtchNum>sample string 15</ManBtchNum> <ManSerNum>sample string 16</ManSerNum> <Quantity>5</Quantity> <SerialNumbers> <SerialNumbers> <DistNumber>sample string 3</DistNumber> <Quantity>2</Quantity> <SystemSerialNumber>1</SystemSerialNumber> </SerialNumbers> <SerialNumbers> <DistNumber>sample string 3</DistNumber> <Quantity>2</Quantity> <SystemSerialNumber>1</SystemSerialNumber> </SerialNumbers> </SerialNumbers> <TaxCode>sample string 6</TaxCode> <TaxOnly>sample string 8</TaxOnly> <TaxRate>sample string 7</TaxRate> <TreeType>sample string 17</TreeType> <Udfs xmlns:d4p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> </Udfs> <UnitPrice>4</UnitPrice> <UoMEntry>14</UoMEntry> <UoMMasterData> <UoMMasterData> <UnitPrice>4</UnitPrice> <UnitPriceFC>5</UnitPriceFC> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoMMasterData> <UoMMasterData> <UnitPrice>4</UnitPrice> <UnitPriceFC>5</UnitPriceFC> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoMMasterData> </UoMMasterData> <WarehouseCode>sample string 11</WarehouseCode> </DeliveryRows> </DocumentLines> <PaymentGroupCode>9</PaymentGroupCode> <PriceList>10</PriceList> <SalesPersonCode>7</SalesPersonCode> <Series>11</Series> <Udfs xmlns:d2p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d2p1:Udf> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:Udf> <d2p1:Udf> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:Udf> </Udfs> </Delivery>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |