cancel
Showing results for 
Search instead for 
Did you mean: 

Service Layer: batch operations Limitations

mario_galeano
Participant
0 Kudos

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?

Accepted Solutions (0)

Answers (0)