Skip to content

Instantly share code, notes, and snippets.

@shivrajbadu
Created July 18, 2023 11:11
Show Gist options
  • Select an option

  • Save shivrajbadu/53b95142261ceb072387ff96eef1fbad to your computer and use it in GitHub Desktop.

Select an option

Save shivrajbadu/53b95142261ceb072387ff96eef1fbad to your computer and use it in GitHub Desktop.
Creation of PO
{
"batch_request_id": "Sannam-x13",
"batch_update_url": "https://client-api-domain.com/batch_status_update/",
"operations": [
{
"body": {
"data": [
{
"user_id": "1234567",
"metafields": {
"Email Id of PO Creator": "[email protected]",
"Supplier": "Procurement Express",
"Submitted On": "2023-07-07",
"Project": "Development",
"PO Start Date": "2023-07-09",
"PO End Date": "2024-07-09",
"Source Country": "South Africa",
"Delivery Country": "India",
"Business Division": "BU-DEV",
"Description": "SHJBBKJKKJ",
"Expense Nature": "Work",
"Brief Description Comments": "jvbjnnjbjvj",
"Gross Amount": "500",
"Net Amount": "400",
"Tax Amount": "100",
"PO Number": "1001"
}
}
],
"requestId": "1001",
"container_type": "Project",
"product_name": "Master"
},
"requestId": "1001",
"method": "POST",
"path": "/auth/v1/runtime-containers/bulk/",
"headers": [
{
"name": "Authorization",
"value": "Bearer 7CNIvJGQxQkmKqopmpalg4Xhh"
}
]
},
{
"body": {
"data": [
{
"user_id": "1234567",
"metafields": {
"Email Id of PO Creator": "[email protected]",
"Supplier": "Procurement Express",
"Submitted On": "2023-07-09",
"Project": "Development",
"PO Start Date": "2023-07-09",
"PO End Date": "2024-07-09",
"Source Country": "South Africa",
"Delivery Country": "India",
"Business Division": "BU-DEV",
"Description": "SHJBBKJKKJ",
"Expense Nature": "Work",
"Brief Description Comments": "jvbjnnjbjvj",
"Gross Amount": "500",
"Net Amount": "400",
"Tax Amount": "100",
"PO Number": "1002"
}
}
],
"requestId": "1002",
"container_type": "Project",
"product_name": "Master"
},
"requestId": "1002",
"method": "POST",
"path": "/auth/v1/runtime-containers/bulk/",
"headers": [
{
"name": "Authorization",
"value": "Bearer 7CNIvJGQxQkmKqopmpalg4Xhh"
}
]
},
{
"body": {
"data": [
{
"user_id": "1234567",
"metafields": {
"Email Id of PO Creator": "[email protected]",
"Supplier": "Procurement Express",
"Submitted On": "2023-07-09",
"Project": "Development",
"PO Start Date": "2023-07-09",
"PO End Date": "2024-07-09",
"Source Country": "South Africa",
"Delivery Country": "India",
"Business Division": "BU-DEV",
"Description": "SHJBBKJKKJ",
"Expense Nature": "Work",
"Brief Description Comments": "jvbjnnjbjvj",
"Gross Amount": "500",
"Net Amount": "400",
"Tax Amount": "100",
"PO Number": "1003"
}
}
],
"requestId": "1003",
"container_type": "Project",
"product_name": "Master"
},
"requestId": "1003",
"method": "POST",
"path": "/auth/v1/runtime-containers/bulk/",
"headers": [
{
"name": "Authorization",
"value": "Bearer 7CNIvJGQxQkmKqopmpalg4Xhh"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment