Batch API query
Hi,
We are using rest API for creating leads with URL: /rest/v1/leads.json
The API allows multiple inputs in 1 API call with maximum limit of 300.
We have query regarding error handling for the API:
Lets assume there are 100 records in one API call. For some reason(endpoint is down etc), API fails for each record starting from 51st.
In such case, will we get succcess response for 50 created records and error message/s for each of the rest 50 records?
Or
is there any rollback mechanism implemented, i.e. API returning failure for batch call itself.
Thanks