on 12-07-2023 12:32 PM
There is some restriction on processing many requests through the batch sending operation that Service Layer tests, in this case I try to update more than 300 records but it takes a long time, apart from consuming resources on the server side, the example sending body it would be this:
PATCH /b1s/v1/Items('1123308453')
{"ItemPrices":[{"PriceList":"1","Price":1096,"Currency":"GS"}]}
--changeset_6233407b-6d93-4f98-aa87-f5a180101d2c
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: 98
PATCH /b1s/v1/Items('1123410201')
{"ItemPrices":[{"PriceList":"1","Price":1097,"Currency":"GS"}]}
--changeset_6233407b-6d93-4f98-aa87-f5a180101d2c
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: 99
PATCH /b1s/v1/Items('1123410301')
{"ItemPrices":[{"PriceList":"1","Price":1098,"Currency":"GS"}]}
--changeset_6233407b-6d93-4f98-aa87-f5a180101d2c
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: 100
PATCH /b1s/v1/Items('1123410406PQQH')
{"ItemPrices":[{"PriceList":"1","Price":1099,"Currency":"GS"}]}
--changeset_6233407b-6d93-4f98-aa87-f5a180101d2c--
--batch_841d61b9-50f4-4177-afd9-e3587c85a22e--<br>
Is there another alternative to process more than 1000 requests and that does not affect the performance of the server?
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.