...
Bloco de código | ||
---|---|---|
| ||
DELETE /totvseai/standardmessage/v1/transactions { "items" : [ { "header" : { "UUID" : "", "type" : "BusinessMessage", "subType" : "event|request", "transaction" : "customerVendor", "version" : "2.001", "sourceApplication": "", "productName" : "", "productVersion" : "", "generatedOn" : "", "deliveryType" : "async", }, "content" : { "atributo1" : "", "atributo2" : "", ... "atributoN" : "" } }, { "header" : { "UUID" : "", "type" : "BusinessMessage", "subType" : "event|request", "transaction" : "customerVendor", "version" : "2.001", "sourceApplication": "", "productName" : "", "productVersion" : "", "generatedOn" : "", "deliveryType" : "async", }, "content" : { "atributo1" : "", "atributo2" : "", ... "atributoN" : "" } } ] } |
O JSON equivalente a Response Message será:
Bloco de código | ||
---|---|---|
| ||
{
"header" : {
"UUID" : "",
"type" : "Response",
"subType" : "",
"transaction" : "",
"version" : "",
"sourceApplication" : "",
"productName" : "",
"productVersion" : "",
"generatedOn" : "",
"deliveryType": ""
},
"content" : {
"receivedMessage" : {
"UUID" : "<originalMsgUUID>",
"SentBy" : "<sourceApplication>"
},
"processingInformation" : {
"processedOn" : "",
"status" : "OK|ERROR|WARNING",
"details" : [
{
"code" : "",
"message" : "",
"detailedMessage" : ""
},
{
"code" : "",
"message" : "",
"detailedMessage" : ""
}
]
},
"returnContent" : {
"listOfInternalID" : [
{
"name" : "InternalIdName",
"origin" : "",
"destination" : ""
},
{
"name" : "InternalIdName",
"origin" : "",
"destination" : ""
}
]
}
}
} |
...
Bloco de código | ||
---|---|---|
| ||
POST /totvseai/standardmessage/v1/contents/customervendor_1_000/ { "items" : [ { "atributo1" : "valorA1", "atributo2" : "valorA2" }, { "atributo1" : "valorB1", "atributo2" : "valorB2" } ] } |
...
Bloco de código | ||
---|---|---|
| ||
DELETE /totvseai/standardmessage/v1/contents/customervendor_1_000/{internalID} { "atributo1" : "", "atributo2" : "" } |
...
Os internalID devem estar nos elementos do array "items"???
...