...
Âncora | ||||
---|---|---|---|---|
|
POST /totvseai/standardmessage/v1/transactions?batchType={batchType}?batchUUID={batchUUID}
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
POST /totvseai/standardmessage/v1/transactions?batchType=businessTransaction&batchUUID=f0b3695c-1efc-49f2-84a7-1eeb59c5a962 { "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" : "" } } ] } |
POST /totvseai/standardmessage/v1/transactions
...
Bloco de código | ||
---|---|---|
| ||
POST /totvseai/standardmessage/v1/transactions/ { "header" : { "UUID" : "", "type" : "BusinessMessage", "subType" : "event", "transaction" : "customerVendor", "version" : "2.001", "sourceApplication": "", "productName" : "", "productVersion" : "", "companyId" : "", "branchId" : "", "generatedOn" : "", "deliveryType" : "sync", }, "content" : { "atributo1" : "", "atributo2" : "", ... "atributoN" : "" } } |
...
DELETE /totvseai/standardmessage/v1/transactions/{transactionID_version}/{internalID}
...
Bloco de código | ||
---|---|---|
| ||
DELETE /totvseai/standardmessage/v1/transactions/customerVendor_2_001/10|ABC123 { "header" : { "UUID" : "", "type" : "BusinessMessage", "subType" : "event", "transaction" : "customerVendor", "version" : "2.001", "sourceApplication": "", "productName" : "", "productVersion" : "", "companyId" : "", "branchId" : "", "generatedOn" : "", "deliveryType" : "sync", }, "content" : { "atributo1" : "", "atributo2" : "", ... "atributoN" : "" } } |
...
DELETE /totvseai/standardmessage/v1/transactions?batchType={batchType}?batchUUID={batchUUID}
...