File: C:/Redmine-4.x/redmine-4.2.9/files/2023/09/230911173229_fae443e413eace3d8b1168bd70819331.json
{
"info": {
"_postman_id": "fe34005a-87b2-429b-a1b0-348502d7205d",
"name": "SUP EMOTORS",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "28070576"
},
"item": [
{
"name": "Authorization",
"event": [
{
"listen": "test",
"script": {
"exec": [
"var json = JSON.parse(responseBody);\r",
"tests[\"Get Azure Ad Token\"] = !json.error && responseBody !== '' && responseBody !=='{}' && json.access_token !== '';\r",
"postman.setEnvironmentVariable(\"bearerToken\",json.access_token);"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "client_secret",
"value": "{{client_secret}}",
"type": "text"
},
{
"key": "grant_type",
"value": "{{grant_type}}",
"type": "text"
},
{
"key": "client_id",
"value": "{{client_id}}",
"type": "text"
},
{
"key": "resource",
"value": "{{resource}}",
"type": "text"
}
]
},
"url": {
"raw": "https://login.microsoftonline.com/{{tenant_id}}/oauth2/token",
"protocol": "https",
"host": [
"login",
"microsoftonline",
"com"
],
"path": [
"{{tenant_id}}",
"oauth2",
"token"
]
}
},
"response": []
},
{
"name": "Get CustomerGroups",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{resource}}/data/CustomerGroups",
"host": [
"{{resource}}"
],
"path": [
"data",
"CustomerGroups"
]
}
},
"response": []
},
{
"name": "MOM0",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"ProdId\": \"NOF-0009865\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"09062023-1\",\r\n \"ItemId\": \"mass-00037794\",\r\n \"Qty\": 15,\r\n \"WrkCtrId\": \"r-00035134\",\r\n \"Status\": \"OK\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{resource}}/data/SICMomProdEntrys",
"host": [
"{{resource}}"
],
"path": [
"data",
"SICMomProdEntrys"
]
}
},
"response": []
},
{
"name": "MOM0 EnMasse",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"content-type": true
}
},
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "multipart/mixed;boundary=batch_d63a-e9be-2927",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_2499-90ab-7b93\r\n\r\n--changeset_2499-90ab-7b93\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 1\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000217\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_2499-90ab-7b93--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 2\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000218\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 3\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000219\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 4\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000220\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 4\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000221\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 4\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000222\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 4\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000223\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 4\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000224\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 4\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000225\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomProdEntrys?cross-company=true HTTP/1.1\r\nContent-ID: 4\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\"ProdId\":\"NOF-0000226\",\"InventSerialId\":\"\",\"ConsumptionItemId\":\"\",\"ConsumptionInventSerialId\":\"\",\"UMLabelId\":\"051020225\",\"ItemId\":\"mass-00002290sn\",\"Qty\": 432,\"WrkCtrId\":\"r-00044595\",\"Status\":\"OK\",\"dataAreaId\":\"npem\"}\r\n--changeset_b573-33b2-85ff--",
"options": {
"raw": {
"language": "text"
}
}
},
"url": {
"raw": "{{resource}}/data/$batch",
"host": [
"{{resource}}"
],
"path": [
"data",
"$batch"
]
}
},
"response": []
},
{
"name": "MOM1Bis",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0001879\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003971\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"ItemId\": \"mass-00037802\",\r\n \"Qty\": 6,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"NOK\",\r\n \"Validate\": 1\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{resource}}/data/SICMomConsumptionOutputs",
"host": [
"{{resource}}"
],
"path": [
"data",
"SICMomConsumptionOutputs"
]
}
},
"response": []
},
{
"name": "MOM1Bis EnMasse",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"content-type": true
}
},
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "multipart/mixed;boundary=batch_d63a-e9be-2927",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_2499-90ab-7b93\r\n\r\n--changeset_2499-90ab-7b93\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 1\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003815\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"OK\"\r\n}\r\n\r\n--changeset_2499-90ab-7b93--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 2\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003818\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"OK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 3\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00005775\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"NOK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 4\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003818\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"NOK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 5\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00005775\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"OK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 6\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003818\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"OK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 7\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003818\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"OK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 8\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003818\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"OK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 9\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003818\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"OK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n--batch_d63a-e9be-2927\r\nContent-Type: multipart/mixed; boundary=changeset_b573-33b2-85ff\r\n\r\n--changeset_b573-33b2-85ff\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nPOST SICMomConsumptionOutputs?cross-company=true HTTP/1.1\r\nContent-ID: 10\r\nAccept: application/json;q=0.9, */*;q=0.1\r\nOData-Version: 4.0\r\nContent-Type: application/json\r\nOData-MaxVersion: 4.0\r\n\r\n{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0000188\",\r\n \"InventSerialId\": \"\",\r\n \"ConsumptionItemId\": \"P-00003818\",\r\n \"ConsumptionInventSerialId\": \"\",\r\n \"UMLabelId\": \"051020230\",\r\n \"ItemId\": \"mass-00002290sn\",\r\n \"Qty\": 2,\r\n \"WrkCtrId\": \"r-00044595\",\r\n \"Status\": \"OK\"\r\n}\r\n--changeset_b573-33b2-85ff--\r\n\r\n",
"options": {
"raw": {
"language": "text"
}
}
},
"url": {
"raw": "{{resource}}/data/$batch",
"host": [
"{{resource}}"
],
"path": [
"data",
"$batch"
]
}
},
"response": []
},
{
"name": "MOM2",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"dataAreaId\": \"npem\",\r\n \"LabelId\": \"051020225\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{resource}}/data/SICMomUMFinisheds",
"host": [
"{{resource}}"
],
"path": [
"data",
"SICMomUMFinisheds"
]
}
},
"response": []
},
{
"name": "MOM3",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"dataAreaId\": \"npem\",\r\n \"ProdId\": \"NOF-0003442\",\r\n \"StartDate\" : \"2023-05-25T12:55:10.637Z\",\r\n \"FinishDate\" : \"2023-05-25T15:39:15.762Z\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{resource}}/data/SICMomProductionFinisheds",
"host": [
"{{resource}}"
],
"path": [
"data",
"SICMomProductionFinisheds"
]
}
},
"response": []
}
]
}