Quick start
This guide shows the process of editing a schedule, using Carat Portal's REST web service interface.
#
What you'll need- SID from a schedule with status
ATV
orINA
on Carat Portal. Learn more. - A tool capable of performing HTTP calls, such as Postman, REST Client or cURL
- An application capable of receiving POST HTTPS calls
#
Creating a schedule editHTTP method: POST
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/api/v1/schedules/edits
Headers:
- Content-Type: application/json
- merchant_id: {your merchant id}
- merchant_key: {your merchant key}
Request: Replace the <sid> field in the request below with the SID from the schedule to be altered.
To use this example, don't forget to define the variable {{url}}
to the value
esitef-homologacao.softwareexpress.com.br
Receiving the authenticity POST:
Response:
Learn more about this service.
#
Altering the scheduleHTTP method: PUT
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/api/v1/schedules/edits/<seid>
Replace the <seid> field in the URL above with the SEID obtained on the authenticity POST.
Headers:
- Content-Type: application/json
- merchant_id: {your merchant id}
- merchant_key: {your merchant key}
Request:
To use this example, don't forget to define the variable {{url}}
to the value
esitef-homologacao.softwareexpress.com.br
Response: