0% found this document useful (0 votes)
0 views

Priority

The document outlines the API specifications for creating and updating priority requests, including the necessary URLs, request payloads, and expected responses. It specifies the required fields, validation rules, and error handling for both operations. The version of the API is 2.0, and it was last updated on January 22, 2025.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

Priority

The document outlines the API specifications for creating and updating priority requests, including the necessary URLs, request payloads, and expected responses. It specifies the required fields, validation rules, and error handling for both operations. The version of the API is 2.0, and it was last updated on January 22, 2025.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Create Priority Request

Version : 2.0 Date: 22-01-2025

URL http://45.117.74.130:9092/CRM/CreatePriority

Content-Type application/json

Method Post

Key IdOPRequest, ItemNo

Request Payload:

{
"IdOPRequest": "OP-0079",
"Remark": "NA",
"Items": [
{
"ItemNo": "100",
"OPRequestDate": "2024-07-16T00:00:00Z",
"Owner": "83",
"SAPOrderNo":"",
"SAPOrderItem":"",
"MaterialCode":"CTS10U",
"PriorityQty":"100",
"CommittedDate":"",
"DeliveryDate":""
},
{

"ItemNo": "1001",
"OPRequestDate": "2024-07-16T00:00:00Z",
"Owner": "83",
"SAPOrderNo":"",
"SAPOrderItem":"",
"MaterialCode":"CTS10UBK",
"PriorityQty":"100",
"CommittedDate":"",
"DeliveryDate":""
}
]
}

Response

"Code": "S",

"Text": " Priority items processed successfully for Id OP-0079.",

"TransactionNo": " OP-0079",

"TransactionType": "Priority"

Response in case of error

"Code": "E",

"Text": "Error Detail.",

"TransactionNo": " OP-0079",

"TransactionType": “Priority"

Validations

Unique Fields IdOPRequest, Item: ItemNo

Mandatory Fields

Format Checks
Update Priority Request
Version : 2.0 Date: 22-01-2025

URL http://45.117.74.130:9092/CRM/UpdatePriority

Content-Type application/json

Method Post

Key IdOPRequest, ItemNo

Request Payload:

{
"IdOPRequest": " OP-0079",
"Remark": "This to test Priority Update",

"Items": [
{
"IdOPRequest": " OP-0079",
"ItemNo": "100",
"OPRequestDate": "2025-01-26T00:00:00Z",
"Owner": "83",
"SAPOrderNo": "",
"SAPOrderItem": "",
"MaterialCode": "CTS10U",
"PriorityQty": "30",
"CommittedDate": "",
"DeliveryDate": "2025-06-23"
}
]
}
Response

"Code": "S",

"Text": " Priority Updated successfully.",

"TransactionNo": " OP-0079",

"TransactionType": "Priority"

Response in case of error

"Code": "E",

"Text": "Error Detail.",

"TransactionNo": " OP-0079",

"TransactionType": "Priority"

Validations

Unique Fields IdOPRequest, ItemNo

Mandatory Fields IdOPRequest, ItemNo

Format Checks

You might also like