POST api/Receipt/AddWarehouseReceipt
Request Information
URI Parameters
None.
Body Parameters
ReceiptHeaderName | Description | Type | Additional information |
---|---|---|---|
ReceiptYear | integer |
None. |
|
ReceiptBook | string |
None. |
|
ReceiptDate | date |
None. |
|
ToWarehouseID | string |
None. |
|
Document | string |
None. |
|
SupplierID | string |
None. |
|
CostCenterID | string |
None. |
|
CostUnitID | string |
None. |
|
ClerkID | string |
None. |
|
WorkOrderID | string |
None. |
|
AnalyticID | string |
None. |
|
NoteHeader | string |
None. |
|
NoteFooter | string |
None. |
|
Note | string |
None. |
|
LinkToOrigin | string |
None. |
|
LinkToUser | integer |
None. |
|
LinkToYear | integer |
None. |
|
LinkToBook | string |
None. |
|
ReferenceDocument | integer |
None. |
|
InsertedBy | string |
None. |
|
InsertedTime | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTime | date |
None. |
|
Analytic_AN1_ID | string |
None. |
|
Analytic_AN2_ID | string |
None. |
|
Analytic_AN3_ID | string |
None. |
|
UpdatePurchasePriceList | boolean |
None. |
|
PurchasePriceListID | string |
None. |
|
ReceiptLines | ReceiptWLines_ |
None. |
Request Formats
application/xml, text/xml
Sample:
<ReceiptHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ReceiptYear>1</ReceiptYear> <ReceiptBook>sample string 2</ReceiptBook> <ReceiptDate>2024-11-21T15:28:59.9458783+01:00</ReceiptDate> <ToWarehouseID>sample string 3</ToWarehouseID> <Document>sample string 4</Document> <SupplierID>sample string 5</SupplierID> <CostCenterID>sample string 6</CostCenterID> <CostUnitID>sample string 7</CostUnitID> <ClerkID>sample string 8</ClerkID> <WorkOrderID>sample string 9</WorkOrderID> <AnalyticID>sample string 10</AnalyticID> <NoteHeader>sample string 11</NoteHeader> <NoteFooter>sample string 12</NoteFooter> <Note>sample string 13</Note> <LinkToOrigin>sample string 14</LinkToOrigin> <LinkToUser>15</LinkToUser> <LinkToYear>16</LinkToYear> <LinkToBook>sample string 17</LinkToBook> <ReferenceDocument>18</ReferenceDocument> <InsertedBy>sample string 19</InsertedBy> <InsertedTime>2024-11-21T15:28:59.9458783+01:00</InsertedTime> <ModifiedBy>sample string 20</ModifiedBy> <ModifiedTime>2024-11-21T15:28:59.9458783+01:00</ModifiedTime> <Analytic_AN1_ID>sample string 21</Analytic_AN1_ID> <Analytic_AN2_ID>sample string 22</Analytic_AN2_ID> <Analytic_AN3_ID>sample string 23</Analytic_AN3_ID> <UpdatePurchasePriceList>true</UpdatePurchasePriceList> <PurchasePriceListID>sample string 24</PurchasePriceListID> <ReceiptLines> <ReceiptLine> <LineNumber>1</LineNumber> <ItemID>sample string 2</ItemID> <ItemIDType>sample string 3</ItemIDType> <ToWarehouseID>sample string 4</ToWarehouseID> <Series>sample string 5</Series> <Quantity>6</Quantity> <Price>1</Price> <Weight>1</Weight> <Volume>1</Volume> <NumberOfPackage>1</NumberOfPackage> <ReferenceDocumentLineNumber>1</ReferenceDocumentLineNumber> <Note>sample string 7</Note> <InsertedBy>sample string 8</InsertedBy> <InsertedTime>2024-11-21T15:28:59.9468778+01:00</InsertedTime> <ModifiedBy>sample string 9</ModifiedBy> <ModifiedTime>2024-11-21T15:28:59.9468778+01:00</ModifiedTime> <CostCenterID>sample string 10</CostCenterID> <CostUnitID>sample string 11</CostUnitID> <ClerkID>sample string 12</ClerkID> <WorkOrderID>sample string 13</WorkOrderID> <AnalyticID>sample string 14</AnalyticID> <Analytic_AN1_ID>sample string 15</Analytic_AN1_ID> <Analytic_AN2_ID>sample string 16</Analytic_AN2_ID> <Analytic_AN3_ID>sample string 17</Analytic_AN3_ID> </ReceiptLine> <ReceiptLine> <LineNumber>1</LineNumber> <ItemID>sample string 2</ItemID> <ItemIDType>sample string 3</ItemIDType> <ToWarehouseID>sample string 4</ToWarehouseID> <Series>sample string 5</Series> <Quantity>6</Quantity> <Price>1</Price> <Weight>1</Weight> <Volume>1</Volume> <NumberOfPackage>1</NumberOfPackage> <ReferenceDocumentLineNumber>1</ReferenceDocumentLineNumber> <Note>sample string 7</Note> <InsertedBy>sample string 8</InsertedBy> <InsertedTime>2024-11-21T15:28:59.9468778+01:00</InsertedTime> <ModifiedBy>sample string 9</ModifiedBy> <ModifiedTime>2024-11-21T15:28:59.9468778+01:00</ModifiedTime> <CostCenterID>sample string 10</CostCenterID> <CostUnitID>sample string 11</CostUnitID> <ClerkID>sample string 12</ClerkID> <WorkOrderID>sample string 13</WorkOrderID> <AnalyticID>sample string 14</AnalyticID> <Analytic_AN1_ID>sample string 15</Analytic_AN1_ID> <Analytic_AN2_ID>sample string 16</Analytic_AN2_ID> <Analytic_AN3_ID>sample string 17</Analytic_AN3_ID> </ReceiptLine> </ReceiptLines> </ReceiptHeader>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional 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>