...
Tip | ||
---|---|---|
| ||
Download the example XML: Reservation Drop Shipment Order (EUR) |
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> |
...
<tns:Pip3A4PurchaseOrderRequest xmlns:ns="http://www.onetrail.net" xmlns:ns3="http://pip3a4po.ws.service.onetrail.com/" xmlns:tns="http://www.onetrail.net" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> |
...
<tns:fromRole> |
...
<tns:PartnerRoleDescription> |
...
<tns:ContactInformation> |
...
<tns:contactName> |
...
<tns:FreeFormText lang="EN">Purchase Department</tns:FreeFormText> |
...
</tns:contactName> |
...
<tns:EmailAddress>Purchase@onetrail.com</tns:EmailAddress> |
...
<tns:facsimileNumber> |
...
<tns:CommunicationsNumber>+31 30 697 3289</tns:CommunicationsNumber> |
...
</tns:facsimileNumber> |
...
<tns:telephoneNumber> |
...
<tns:CommunicationsNumber>+31 30 697 3288</tns:CommunicationsNumber> |
...
</tns:telephoneNumber> |
...
</tns:ContactInformation> |
...
<tns:GlobalPartnerRoleClassificationCode>Reseller</tns:GlobalPartnerRoleClassificationCode> |
...
<tns:PartnerDescription> |
...
<tns:BusinessDescription> |
...
<tns:GlobalBusinessIdentifier>8714253023366</tns:GlobalBusinessIdentifier> |
...
<tns:GlobalSupplyChainCode>Information Technology</tns:GlobalSupplyChainCode> |
...
<tns:businessName> |
...
<tns:FreeFormText lang="EN">Onetrail B.V. - Test Buyer</tns:FreeFormText> |
...
</tns:businessName> |
...
</tns:BusinessDescription> |
...
<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode> |
...
</tns:PartnerDescription> |
...
</tns:PartnerRoleDescription> |
...
</tns:fromRole> |
...
<tns:Authentication> |
...
<tns:Username/> |
...
<tns:Password/> |
...
</tns:Authentication> |
...
<tns:GlobalDocumentFunctionCode>Request</tns:GlobalDocumentFunctionCode> |
...
<tns:PurchaseOrder> |
...
<tns:AccountDescription> |
...
<tns:accountName> |
...
<tns:FreeFormText lang="EN">Onetrail B.V. - Test Buyer</tns:FreeFormText> |
...
</tns:accountName> |
...
<tns:AccountNumber>8714253023366</tns:AccountNumber> |
...
<tns:billTo> |
...
<tns:PartnerRoleDescription> |
...
<tns:ContactInformation> |
...
<tns:contactName> |
...
<tns:FreeFormText lang="EN">Finance Department</tns:FreeFormText> |
...
</tns:contactName> |
...
<tns:EmailAddress>Finance@onetrail.com</tns:EmailAddress> |
...
<tns:facsimileNumber> |
...
<tns:CommunicationsNumber>+31 30 697 3289</tns:CommunicationsNumber> |
...
</tns:facsimileNumber> |
...
<tns:telephoneNumber> |
...
<tns:CommunicationsNumber>+31 30 697 3288</tns:CommunicationsNumber> |
...
</tns:telephoneNumber> |
...
</tns:ContactInformation> |
...
<tns:GlobalPartnerRoleClassificationCode>Reseller</tns:GlobalPartnerRoleClassificationCode> |
...
<tns:PartnerDescription> |
...
<tns:BusinessDescription> |
...
<tns:GlobalBusinessIdentifier>8714253023397</tns:GlobalBusinessIdentifier> |
...
<tns:businessName> |
...
<tns:FreeFormText lang="EN">Onetrail B.V. - Test Buyer</tns:FreeFormText> |
...
</tns:businessName> |
...
</tns:BusinessDescription> |
...
<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode> |
...
</tns:PartnerDescription> |
...
</tns:PartnerRoleDescription> |
...
</tns:billTo> |
...
</tns:AccountDescription> |
...
<tns:remarks> |
...
<tns:remark context="Sales Remark" lang="EN">Header Text</tns:remark> |
...
</tns:remarks> |
...
<tns:DocumentReference> |
...
<tns:DateTimeStamp>20150216T000000</tns:DateTimeStamp> |
...
<tns:GlobalDocumentReferenceTypeCode>Work Order</tns:GlobalDocumentReferenceTypeCode> |
...
<tns:ProprietaryDocumentIdentifier>End user ref 285481</tns:ProprietaryDocumentIdentifier> |
...
</tns:DocumentReference> |
...
<tns:DocumentReference> |
...
<!-- date reservation has been made--> |
...
<tns:DateTimeStamp>20210620T000000</tns:DateTimeStamp> |
...
<!-- reservation order number from the seller --> |
...
<tns:GlobalDocumentReferenceTypeCode>Reservation</tns:GlobalDocumentReferenceTypeCode> |
...
<tns:ProprietaryDocumentIdentifier>123228431</tns:ProprietaryDocumentIdentifier> |
...
</tns:DocumentReference> |
...
<!-- Different order type --> |
...
<tns:GlobalPurchaseOrderTypeCode>Reservation Order</tns:GlobalPurchaseOrderTypeCode> |
...
<tns:OrderShippingInformation> |
...
<tns:GlobalShippingServiceLevelCode>AB - Pre Noon</tns:GlobalShippingServiceLevelCode> |
...
<tns:GlobalSpecialFulfillmentRequestCode>Partial</tns:GlobalSpecialFulfillmentRequestCode> |
...
</tns:OrderShippingInformation> |
...
<tns:ProductLineItem> |
...
<tns:remarks> |
...
<tns:remark context="Linereference">Line Text 1</tns:remark> |
...
</tns:remarks> |
...
<tns:GlobalProductUnitOfMeasureCode>EACH</tns:GlobalProductUnitOfMeasureCode> |
...
<tns:isDropShip> |
...
<tns:AffirmationIndicator>Yes</tns:AffirmationIndicator> |
...
</tns:isDropShip> |
...
<tns:LineNumber>1</tns:LineNumber> |
...
<tns:OrderQuantity> |
...
<tns:requestedQuantity> |
...
<tns:ProductQuantity>300</tns:ProductQuantity> |
...
</tns:requestedQuantity> |
...
</tns:OrderQuantity> |
...
<tns:ProductIdentification> |
...
<tns:GlobalProductIdentifier>20E2000CMH</tns:GlobalProductIdentifier> |
...
<tns:PartnerProductIdentification> |
...
<tns:GlobalPartnerClassificationCode>Manufacturer</tns:GlobalPartnerClassificationCode> |
...
<tns:ProprietaryProductIdentifier>20E2000CMH</tns:ProprietaryProductIdentifier> |
...
</tns:PartnerProductIdentification> |
...
<tns:PartnerProductIdentification> |
...
<tns:GlobalPartnerClassificationCode>Seller</tns:GlobalPartnerClassificationCode> |
...
<tns:ProprietaryProductIdentifier>SellerPN1</tns:ProprietaryProductIdentifier> |
...
</tns:PartnerProductIdentification> |
...
<tns:PartnerProductIdentification> |
...
<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode> |
...
<tns:ProprietaryProductIdentifier>BuyerPN1</tns:ProprietaryProductIdentifier> |
...
</tns:PartnerProductIdentification> |
...
<tns:PartnerProductIdentification> |
...
<tns:GlobalPartnerClassificationCode>EAN</tns:GlobalPartnerClassificationCode> |
...
<tns:ProprietaryProductIdentifier>8712345678921</tns:ProprietaryProductIdentifier> |
...
</tns:PartnerProductIdentification> |
...
</tns:ProductIdentification> |
...
<tns:proprietaryInformation> |
...
<tns:FreeFormText lang="EN">Most Wonderful Product there is</tns:FreeFormText> |
...
</tns:proprietaryInformation> |
...
<tns:requestedEvent> |
...
<tns:TransportationEvent> |
...
<tns:DateStamp>20150216T000000</tns:DateStamp> |
...
<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode> |
...
</tns:TransportationEvent> |
...
</tns:requestedEvent> |
...
<tns:requestedUnitPrice> |
...
<tns:FinancialAmount> |
...
<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode> |
...
<tns:MonetaryAmount>1298.48</tns:MonetaryAmount> |
...
</tns:FinancialAmount> |
...
</tns:requestedUnitPrice> |
...
<tns:totalLineItemAmount> |
...
<tns:FinancialAmount> |
...
<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode> |
...
<tns:MonetaryAmount>389544.00</tns:MonetaryAmount> |
...
</tns:FinancialAmount> |
...
</tns:totalLineItemAmount> |
...
</tns:ProductLineItem> |
...
<tns:ProductLineItem> |
...
<tns:remarks> |
...
<tns:remark context="LineRemark">Line Text 2</tns:remark> |
...
</tns:remarks> |
...
<tns:GlobalProductUnitOfMeasureCode>EACH</tns:GlobalProductUnitOfMeasureCode> |
...
<tns:isDropShip> |
...
<tns:AffirmationIndicator>Yes</tns:AffirmationIndicator> |
...
</tns:isDropShip> |
...
<tns:LineNumber>2</tns:LineNumber> |
...
<tns:OrderQuantity> |
...
<tns:requestedQuantity> |
...
<tns:ProductQuantity>2</tns:ProductQuantity> |
...
</tns:requestedQuantity> |
...
</tns:OrderQuantity> |
...
<tns:ProductIdentification> |
...
<tns:GlobalProductIdentifier>KTL-TP3CL/4G</tns:GlobalProductIdentifier> |
...
<tns:PartnerProductIdentification> |
...
<tns:GlobalPartnerClassificationCode>Manufacturer</tns:GlobalPartnerClassificationCode> |
...
<tns:ProprietaryProductIdentifier>KTL-TP3CL/4G</tns:ProprietaryProductIdentifier> |
...
</tns:PartnerProductIdentification> |
...
<tns:PartnerProductIdentification> |
...
<tns:GlobalPartnerClassificationCode>Seller</tns:GlobalPartnerClassificationCode> |
...
<tns:ProprietaryProductIdentifier>SellerPN2</tns:ProprietaryProductIdentifier> |
...
</tns:PartnerProductIdentification> |
...
<tns:PartnerProductIdentification> |
...
<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode> |
...
<tns:ProprietaryProductIdentifier>BuyerPN2</tns:ProprietaryProductIdentifier> |
...
</tns:PartnerProductIdentification> |
...
<tns:PartnerProductIdentification> |
...
<tns:GlobalPartnerClassificationCode>EAN</tns:GlobalPartnerClassificationCode> |
...
<tns:ProprietaryProductIdentifier>8712345678954</tns:ProprietaryProductIdentifier> |
...
</tns:PartnerProductIdentification> |
...
</tns:ProductIdentification> |
...
<tns:proprietaryInformation> |
...
<tns:FreeFormText lang="EN">Wonderful Product</tns:FreeFormText> |
...
</tns:proprietaryInformation> |
...
<tns:requestedEvent> |
...
<tns:TransportationEvent> |
...
<tns:DateStamp>20150216T000000</tns:DateStamp> |
...
<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode> |
...
</tns:TransportationEvent> |
...
</tns:requestedEvent> |
...
<tns:requestedUnitPrice> |
...
<tns:FinancialAmount> |
...
<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode> |
...
<tns:MonetaryAmount>26.02</tns:MonetaryAmount> |
...
</tns:FinancialAmount> |
...
</tns:requestedUnitPrice> |
...
<tns:totalLineItemAmount> |
...
<tns:FinancialAmount> |
...
<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode> |
...
<tns:MonetaryAmount>52.04</tns:MonetaryAmount> |
...
</tns:FinancialAmount> |
...
</tns:totalLineItemAmount> |
...
</tns:ProductLineItem> |
...
<tns:purchaseOrderIdentifier> |
...
<tns:ProprietaryDocumentIdentifier>1239123123</tns:ProprietaryDocumentIdentifier> |
...
</tns:purchaseOrderIdentifier> |
...
<tns:requestedEvent> |
...
<tns:TransportationEvent> |
...
<tns:DateStamp>20150216T121141</tns:DateStamp> |
...
<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode> |
...
</tns:TransportationEvent> |
...
</tns:requestedEvent> |
...
<tns:shipTo> |
...
<tns:PartnerDescription> |
...
<tns:BusinessDescription> |
...
<tns:businessName> |
...
<tns:FreeFormText lang="EN">Onetrail Test Buyer</tns:FreeFormText> |
...
</tns:businessName> |
...
</tns:BusinessDescription> |
...
<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode> |
...
<tns:ContactInformation> |
...
<tns:contactName> |
...
<tns:FreeFormText lang="EN">Purchase Department</tns:FreeFormText> |
...
</tns:contactName> |
...
<tns:EmailAddress>support@onetrail.com</tns:EmailAddress> |
...
<tns:facsimileNumber> |
...
<tns:CommunicationsNumber>+31 30 697 3289</tns:CommunicationsNumber> |
...
</tns:facsimileNumber> |
...
<tns:telephoneNumber> |
...
<tns:CommunicationsNumber>+31 30 697 3288</tns:CommunicationsNumber> |
...
</tns:telephoneNumber> |
...
</tns:ContactInformation> |
...
</tns:PartnerDescription> |
...
<tns:PhysicalAddress> |
...
<tns:addressLine1> |
...
<tns:FreeFormText lang="EN">Handelsweg 6</tns:FreeFormText> |
...
</tns:addressLine1> |
...
<tns:addressLine2> |
...
<tns:FreeFormText lang="EN">First Floor</tns:FreeFormText> |
...
</tns:addressLine2> |
...
<tns:cityName> |
...
<tns:FreeFormText lang="EN">Zeist</tns:FreeFormText> |
...
</tns:cityName> |
...
<tns:GlobalCountryCode>NL</tns:GlobalCountryCode> |
...
<tns:NationalPostalCode>3707 NH</tns:NationalPostalCode> |
...
</tns:PhysicalAddress> |
...
</tns:shipTo> |
...
</tns:PurchaseOrder> |
...
<tns:thisDocumentGenerationDateTime> |
...
<tns:DateTimeStamp>20150216T000000</tns:DateTimeStamp> |
...
</tns:thisDocumentGenerationDateTime> |
...
<tns:thisDocumentIdentifier> |
...
<tns:ProprietaryDocumentIdentifier>ThisDocUniqueID-Counter85fgjhgwse639rh</tns:ProprietaryDocumentIdentifier> |
...
</tns:thisDocumentIdentifier> |
...
<tns:toRole> |
...
<tns:PartnerRoleDescription> |
...
<tns:ContactInformation> |
...
<tns:contactName> |
...
<tns:FreeFormText lang="EN">Sales Department </tns:FreeFormText> |
...
</tns:contactName> |
...
<tns:EmailAddress>sales@onetrail.com</tns:EmailAddress> |
...
<tns:facsimileNumber> |
...
<tns:CommunicationsNumber>+31 30 697 3289</tns:CommunicationsNumber> |
...
</tns:facsimileNumber> |
...
<tns:telephoneNumber> |
...
<tns:CommunicationsNumber>+31 30 697 3288</tns:CommunicationsNumber> |
...
</tns:telephoneNumber> |
...
</tns:ContactInformation> |
...
<tns:GlobalPartnerRoleClassificationCode>Distributor</tns:GlobalPartnerRoleClassificationCode> |
...
<tns:PartnerDescription> |
...
<tns:BusinessDescription> |
...
<tns:GlobalBusinessIdentifier>8714253023236</tns:GlobalBusinessIdentifier> |
...
<tns:GlobalSupplyChainCode>Information Technology</tns:GlobalSupplyChainCode> |
...
<tns:businessName> |
...
<tns:FreeFormText lang="EN">Onetrail B.V. - Test Seller</tns:FreeFormText> |
...
</tns:businessName> |
...
</tns:BusinessDescription> |
...
<tns:GlobalPartnerClassificationCode>Seller</tns:GlobalPartnerClassificationCode> |
...
</tns:PartnerDescription> |
...
</tns:PartnerRoleDescription> |
...
</tns:toRole> |
...
</tns:Pip3A4PurchaseOrderRequest> |