- Previous: Retrieve Access Token
- Up: Logistics Operators
- Next: Retrieve Documents by ID
Retrieve Documents
Logistic operators will use this API in order to retrieve documents id outbound from Campari. More precisely, this API provides the following document types:
1. PurchaseOrder
2. StockTransferOrder
3. ReturnOrder
4. SalesOrder
5. SalesDelivery
6. ReturnDelivery
7. TransferPosting
8. Factura
9. Boleta
10. StockTransferOrderOut
11. MaterialMaster
12. BillOfMaterial
At each call, this API sends the list of all the pending documents posted by Campari ERP system.
In order to get the full details of the documents, you should run in sequence the following APIs:
1. **Retrieve documents** to get the list of new pending documents;
2. **Retrieve documents by id** for each document found in the previous step. Once a document is retrieved, it is removed from the pending list;
3. **Processing confirmations** should be called to report any error (with “flow” field equal to document type such as SalesDelivery) when processing a document. In this case the corresponding document will be added again to the pending document list and will be retrieved in the next Retrieve Documents API call.
#### Request URI
#### Response Structure
#### Response Examples
If _documentType_ parameter is not specified, the API returns each id grouped by document type:
Otherwise the API returns all id depending on the document type specified, e.g. documentType=“PurchaseOrder”:
| Query Parameter | Type | Mandatory | Description |
logisticOperator
|
String | Y | Name of Logistic Operator |
documentType
|
String | N | Type of document |
| Field | Type | Mandatory | Description | Technical Details |
id
|
String | Y | Document unique identifier | |
creationDateTime
|
DateTime | Y | Document creation date and time | Format: YYYY-MM-DDThh:mm:ssZ |
- Previous: Retrieve Access Token
- Up: Logistics Operators
- Next: Retrieve Documents by ID
Docs Navigation
- Campari Open API
- Getting Started
- Connection Tester
- Accises
- Automatic GRC
- C4C Confirmation
- Coupa Integration
- Customer Master Data
- Dogana Connector
- EZFocus
- Invoice Verification
- Invoice Management
- InvoicePACloud
- Journal Entries
- Logistics Operators
- Material Master Data
- Material
- Retrieve Access Token
- Create Material
- Retrieve Material by Id
- Retrieve Material Types Information
- Retrieve Specific Material Type
- Retrieve Material Unit of Measures by Id
- Update Material by Id
- Convert Unit of Measure
- Insert New Materials in CTS
- Retrieve Material Details from SAP and Interspec
- Retrieve Material Details from SAP
- Retrieve Product Hierarchy
- Retrieve Material SKU Code
- One Plan
- Payroll
- Payment
- Picklist
- Plant Utilities
- Purchase Orders
- Product
- Production Order
- Sales Order
- SAP Utils
- SedApta Connector
- SendLinkToSAP
- Shipment
- Transport Management System
- Vendor Purchase Orders
- Vendor
- Vulnerability Response
- Warehouse Management
- WBS Automation
- mdgreplicationrel
0 Comments
Please sign in to post a comment.