Format of requests and responses
The endpoints available in the Web API require request parameters and return different responses depending on the associated operation. Although there are endpoints that provide specific operations for certain entities, depending on the business logic of these entities, the input parameters and results are designed for the following main operations: Mandatory parameters for all endpoints All endpoints have the following base URL: The following parameters are always required in all Web API requests and are defined in the URL: To ensure the authentication of the user and the application, it is also necessary to always include the following values in the request headers: More information: What is the Web API? Mandatory parameters by type of operation Other parameters depend on the type of operation associated with the endpoint. Depending on the parameter, it must be specified in the URL, in the query string, or in the body of the message. The response of each request is always a status code that indicates the status of the operation and, optionally, a result in the body of the message. These two results also vary by type of operation. Creating a record (POST) URL: Parameters: Expected status code: Expected result: Updating an attribute of a record (PUT) URL: Parameters: Expected status code: Expected result: Canceling a record (DELETE) URL: Parameters: Expected status code: Expected result: Searching for a record (GET) URL: Parameters: Expected status code: Expected result: Listing all records (GET) URL: Parameters: Expected status code: Expected result: Listing a page of records (GET) URL: Parameters: Expected status code: Expected result: The results documented are the situations where the request was successful and the endpoint was executed without errors, performing the expected operation. The Web API returns different codes in case of error and, in such cases, it can return other results with information about the errors (for example, when the validation of parameters fails). You can find more information on these scenarios in the following document:Parameters
https:///api/{account}/{subscription}/{module}/{resource}
Result by type of operation
Types of operations
https:///api/{account}/{subscription}/{module}/{resource}
https:///api/{account}/{subscription}/{module}/{resource}/{key}/{attributeName}
https:///api/{account}/{subscription}/{module}/{resource}/{key}
https:///api/{account}/{subscription}/{module}/{resource}/{key}
https:///api/{account}/{subscription}/{module}/{resource}
https:///api/{account}/{subscription}/{module}/{resource}?page={page}&pageSize={pageSize}
Special results
login para deixar a sua opinião.