Batch requests
documentedSubmit a batch of API calls in a single request.
POST /batchBatchingno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://secure.solve360.com/batch" \
-X POST \
-H "Authorization: Basic {{SOLVE360_SECRET}}" \
-H "Content-Type: multipart/mixed; boundary====Solve360Batch12345===" \
-H "Accept: application/xml" \
--data-binary $'POST /batch HTTP/1.1\r\nHost: secure.solve360.com\r\nContent-Type: multipart/mixed; boundary===Solve360Batch12345===\r\nContent-Length: 0\r\nConnection: close\r\n\r\n--===Solve360Batch12345===\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\r\nGET /contacts/{{$contact_id}} HTTP/1.1\r\nContent-Type: application/xml\r\nAccept: application/xml\r\nContent-Length: 0\r\n\r\n--===Solve360Batch12345===\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\r\nGET /contacts/{{$contact_id_2}} HTTP/1.1\r\nContent-Type: application/xml\r\nAccept: application/xml\r\nContent-Length: 0\r\n\r\n--===Solve360Batch12345===\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\r\nPOST /contacts/ HTTP/1.1\r\nContent-Type: application/xml\r\nAccept: application/xml\r\nContent-Length: 116\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<request><firstname>{{$first_name}}</firstname><lastname>{{$last_name}}</lastname></request>\r\n\r\n--===Solve360Batch12345===--'