KEMBAR78
B2BAdmin ReProcess Api Calls | PDF | Computing
0% found this document useful (0 votes)
23 views3 pages

B2BAdmin ReProcess Api Calls

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views3 pages

B2BAdmin ReProcess Api Calls

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

API: https://ols2-node-ext.itcs.houston.dxc.

technology/api/b2b/edi/purchaseorder
Method:POST
Request Payload:
<?xml version="1.0"?
><B2BGatewayDoc><Document><ServiceHeader><Protocol><Sender>APEDIDSTME</
Sender><Receiver>487846347</Receiver><MsgType>ORDERS</
MsgType><ReferenceNumber>4000540818</ReferenceNumber></Protocol></
ServiceHeader><ServiceContent><biztalk_1><header><delivery><message><messageID>0000
0000000074_1</messageID><sent>2019-05-13T10:15:25</sent><subject>IWOPOEDIDSTME</
subject></message><to><address>487846347</address></to><from><address>APEDIDSTME</
address><state><referenceID>STMSUPAP</referenceID></state></from></
delivery><manifest><document><name>TradeOrder</name></document></manifest></
header><body><PurchaseOrder><OrderHeader
OrderType="TradeOrder"><OrderingMethod>EDI</OrderingMethod><Region>EMEA</
Region><SourceSystem>B2BGW</SourceSystem><MessageType>ORDERS</MessageType></
OrderHeader><Currency><ISOCurrency>INR</ISOCurrency></Currency><Instructions
InstrucType="UDF"><InstructCode>1</InstructCode><InstructCodesc>Seller-Id</
InstructCodesc><InstructValue>V003646</InstructValue></Instructions><DateInfo
DateType="ORD"><Date>20190509</Date></DateInfo><DocumentReference
DocType="CPO"><DocumentID>4000540818</DocumentID></DocumentReference><CustomerRefer
ence><BuyerID
IDType="SLD"><IDCode>1400</IDCode></BuyerID></CustomerReference><CustomerReference>
<BuyerID IDType="PUR"/><ContactInfo ContacType="PUR"><ContactName>sushmita
Gupta</ContactName><ContactPhone>099
6328</ContactPhone></ContactInfo></CustomerReference><CustomerReference><BuyerID
IDType="SHP"><IDCode>1402</IDCode><Address><Company>STMicroelectronics Private
Ltd</Company><Division>Greater Noida IN</Division><Street>Plot No.01, Knowledge
Park-III,</Street><City>Greater
Noida</City><ZIPCode>201308</ZIPCode><ISOCountryCode>IN</ISOCountryCode></
Address></BuyerID><ContactInfo
ContacType="SHP"><ContactName>LOW,Adrian</ContactName><ContactDivision>ST - Greater
Noida</ContactDivision><ContactEmail2>Part No :
S24375</ContactEmail2></ContactInfo><ContactInfo><ContactEmail2>Description :
PRESENTOR LICENSED V.11.1
WINDOWS</ContactEmail2></ContactInfo><ContactInfo><ContactEmail2>
INTERNATIONAL ENGLISH AOO
License</ContactEmail2></ContactInfo><ContactInfo><ContactEmail2>
(8,000-99,999)</ContactEmail2></ContactInfo></CustomerReference><CustomerReference>
<BuyerID
IDType="SUP"><IDCode>V003646</IDCode></BuyerID></CustomerReference><OrderItem><Item
><LineNumber>1</LineNumber><ItemNumber>00001</ItemNumber><ProductInformation
ProductCode="VPN"><ProductNumber>NOT-CODIFIED</ProductNumber></ProductInformation><
Quantity
unitOfMeasure="PCE"><OrderQuantity>1.000000</OrderQuantity></Quantity><Price
PriceType="BDP"><PriceAmount>35113.200000</PriceAmount></Price><DateInfo
DateType="RDD"><Date>20190520</Date></DateInfo></Item></OrderItem></
PurchaseOrder></body></biztalk_1></ServiceContent></Document></B2BGatewayDoc>

Response:
<?xml version="1.0"?>
<B2BGatewayDoc>
<Document>
<ServiceHeader>
<Protocol>
<Sender>APEDIDSTME</Sender>
<Receiver>487846347</Receiver>
<MsgType>ORDERS</MsgType>
<ReferenceNumber>4000540818</ReferenceNumber>
</Protocol>
</ServiceHeader>
</Document>
</B2BGatewayDoc>

API :
https://esslms-prod-webserver.itcs.houston.dxccorp.net:5222/api//b2b/ReProcess/PO/
4000540818

Method: OPTIONS

Response:
{
"success": true,
"message": [
{
"CORPORATION_ID": "DIGITAL",
"PO_ORDER_ID": "1405",
"SENDER_ID": "APEDIDSTME",
"ACCOUNT_ID": "SLMSB2B_STMICRO_IND-ORDER ACC",
"ORDER_SOURCE": "EDI",
"XML_IN": "<?xml version=\"1.0\"?
><B2BGatewayDoc><Document><ServiceHeader><Protocol><Sender>APEDIDSTME</
Sender><Receiver>487846347</Receiver><MsgType>ORDERS</
MsgType><ReferenceNumber>4000540818</ReferenceNumber></Protocol></
ServiceHeader><ServiceContent><biztalk_1><header><delivery><message><messageID>0000
0000000074_1</messageID><sent>2019-05-13T10:15:25</sent><subject>IWOPOEDIDSTME</
subject></message><to><address>487846347</address></to><from><address>APEDIDSTME</
address><state><referenceID>STMSUPAP</referenceID></state></from></
delivery><manifest><document><name>TradeOrder</name></document></manifest></
header><body><PurchaseOrder><OrderHeader
OrderType=\"TradeOrder\"><OrderingMethod>EDI</OrderingMethod><Region>EMEA</
Region><SourceSystem>B2BGW</SourceSystem><MessageType>ORDERS</MessageType></
OrderHeader><Currency><ISOCurrency>INR</ISOCurrency></Currency><Instructions
InstrucType=\"UDF\"><InstructCode>1</InstructCode><InstructCodesc>Seller-Id</
InstructCodesc><InstructValue>V003646</InstructValue></Instructions><DateInfo
DateType=\"ORD\"><Date>20190509</Date></DateInfo><DocumentReference
DocType=\"CPO\"><DocumentID>4000540818</DocumentID></DocumentReference><CustomerRef
erence><BuyerID
IDType=\"SLD\"><IDCode>1400</IDCode></BuyerID></CustomerReference><CustomerReferenc
e><BuyerID IDType=\"PUR\"/><ContactInfo ContacType=\"PUR\"><ContactName>sushmita
Gupta</ContactName><ContactPhone>099
6328</ContactPhone></ContactInfo></CustomerReference><CustomerReference><BuyerID
IDType=\"SHP\"><IDCode>1402</IDCode><Address><Company>STMicroelectronics Private
Ltd</Company><Division>Greater Noida IN</Division><Street>Plot No.01, Knowledge
Park-III,</Street><City>Greater
Noida</City><ZIPCode>201308</ZIPCode><ISOCountryCode>IN</ISOCountryCode></
Address></BuyerID><ContactInfo
ContacType=\"SHP\"><ContactName>LOW,Adrian</ContactName><ContactDivision>ST -
Greater Noida</ContactDivision><ContactEmail2>Part No :
S24375</ContactEmail2></ContactInfo><ContactInfo><ContactEmail2>Description :
PRESENTOR LICENSED V.11.1
WINDOWS</ContactEmail2></ContactInfo><ContactInfo><ContactEmail2>
INTERNATIONAL ENGLISH AOO
License</ContactEmail2></ContactInfo><ContactInfo><ContactEmail2>
(8,000-99,999)</ContactEmail2></ContactInfo></CustomerReference><CustomerReference>
<BuyerID
IDType=\"SUP\"><IDCode>V003646</IDCode></BuyerID></CustomerReference><OrderItem><It
em><LineNumber>1</LineNumber><ItemNumber>00001</ItemNumber><ProductInformation
ProductCode=\"VPN\"><ProductNumber>NOT-CODIFIED</ProductNumber></ProductInformation
><Quantity
unitOfMeasure=\"PCE\"><OrderQuantity>1.000000</OrderQuantity></Quantity><Price
PriceType=\"BDP\"><PriceAmount>35113.200000</PriceAmount></Price><DateInfo
DateType=\"RDD\"><Date>20190520</Date></DateInfo></Item></OrderItem></
PurchaseOrder></body></biztalk_1></ServiceContent></Document></B2BGatewayDoc>",
"HTTP_HEADER": "null",
"XML_OUT": null,
"PO_NUMBER": "4000540818",
"INTERNAL_TRANSACTION_ID": "100405",
"TRANSMISSION_STATUS": "Success",
"TRANSACTION_TYPE": "PO_Request",
"CURRENCY": "INR",
"TOTAL_PRICE": 35113.200000000004,
"ORDER_STATUS": "Failed",
"ORDER_TYPE": "New",
"PAYLOADID": "4000540818-1720420432905",
"DATESTAMP_TRANSACTION_RECEIVED": "2024-07-08T06:33:54.000Z",
"DATESTAMP_TRANSACTION_SENT": null,
"TRANSACTION_DATE": "2019-05-13T00:00:00.000Z",
"ERROR_SUBJECT": "Error while creating Email PO template.",
"ERROR_BODY": "TypeError: \thtmlToText.fromString is not a function",
"DATETIME_POSTED": "2024-07-08T06:33:53.524Z",
"DATETIME_UPDATED": "2024-07-08T06:33:54.000Z",
"UPDATED_USER_ID": "APEDIDSTME"
}
]
}

You might also like