January 2018
Intermediate to advanced
336 pages
7h 56m
English
The APIs provided by the Service and Order services target the provider services and orders resources of the system, respectively:
| URI | Method | Params | Description |
| /services | POST | Details (JSON) | Creates a new service and returns the service ID |
| /services/1 | PUT | Details to be updated (JSON) | Updates the details of an existing service |
| /services/1/star | PUT | - | Increments the stars for the service by one |
| /services | GET | Fields (CSV), sort (CSV), page | Gets all the services based on request params |
| /services/1 | DELETE | - | Deletes the specified service |
| /orders | POST | Details (JSON) | Creates a new order and returns the order ID |
| /orders/1 | PUT | Details to be updated (JSON) | Updates the details of an existing order |
| /orders | GET ... |
Read now
Unlock full access