...
Bloco de código | ||||
---|---|---|---|---|
| ||||
POST /totvseai/standardmessage/v1/transactions // batchType = simpleBatch é implícito { "items" : [ { "header" : { "UUID" : "", "type" : "BusinessMessage", "subType" : "event", "transaction" : "customerVendor", "version" : "2.001", "sourceApplication": "", "productName" : "", "productVersion" : "", "generatedOn" : "", "deliveryType" : "async", }, "content" : { "atributo1" : "", "atributo2" : "", ... "atributoN" : "" } },{ "header" : { "UUID" : "", ... "transaction" : "customerVendor", "version" : "2.001", ... "deliveryType" : "async" }, "content" : { "atributo1" : "", "atributo2" : "", ... "atributoN" : "" } } ] } |
Bloco de código | ||||
---|---|---|---|---|
| ||||
POST /totvseai/standardmessage/v1/transactions?batchType=businessTransaction { "items" : [ { "header" : { "UUID" : "", "type" : "BusinessMessage", "subType" : "event", "transaction" : "customerVendor", "version" : "2.001", "sourceApplication": "", "productName" : "", "productVersion" : "", "generatedOn" : "", "deliveryType" : "async", }, "content" : { "atributo1" : "", "atributo2" : "", ... "atributoN" : "" } },{ "header" : { "UUID" : "", ... "transaction" : "item", "version" : "3.001", ... "deliveryType" : "sync" // Rejeitar toda a requisição e informar que só aceita assíncrono }, "content" : { "atributo1" : "", "atributo2" : "", ... "atributoN" : "" } } ] } |
...