cs-senda-sapi
home
How to consume
In order to consume this api, please follow this Exchange or Portal
Endpoints
Get the detail of providers.
GET: /providers/urgent
Create an authorization.
POST: /authorization
Get the detail of an authorization by its id.
GET: /authorization/{authorizarionId}
Get the detail of an specific service that an authorization has.
GET: /authorization/{authorizarionId}/services/{serviceId}
Get the catalog of diagnostics .
GET: /diagnotics
Get the historical of diagnostics of a case.
GET: /diagnotics/historicals
Get basic information of a consultan by their document id.
GET: /consultants/{documentId}
Get the detail of a contract by its id.
GET: /customers/contracts/{contractId}
Get the activities that are related to a specific contract.
GET: /customers/contracts/{contractId}/activities
Create a new activity.
POST: /customers/activities
Get the customer's activities.
GET: /customers/activities
Create a new service order to an activity.
POST: /customers/activities/{activityCode}/service-orders
Create a new working session to an activity.
POST: /customers/activities/{activityCode}/working-sessions
Ratify a session of a working session.
POST: /customers/activities/{activityCode}/working-sessions/ratify-sessions
Approve a session of a working session.
POST: /customers/activities/{activityCode}/working-sessions/approve-sessions
Change the status of an activity to "close".
POST: /customers/activities/{activityCode}/close-activity
Create a new record for the historical report of an activity.
POST: /customers/activities/{activityCode}/history-reports
Create a support order.
POST: /customers/activities/working-sessions/supports
Get a catalog of valid documents.
GET: /catalog/document-list
Get the information of an specific document inside the catalog of documents.
GET: /catalog/document-list/{documentId}
Get the catalog of departments.
GET: /catalog/departments
Get the detail of cities around a department.
GET: /catalog/departments/{departmentCode}/cities
Get the information of an specific city.
GET: /catalog/cities/{city}
Security Schemes
These are the mandatory security schemas to make requests to the API
Client Id Enforcement
Field | Parameter | Required |
---|---|---|
client_id | Header | Yes |
client_secret | Header | Yes |
OAuth 2.0
Field | Parameter | Required |
---|---|---|
Authorization | Header | Yes |
Diagram
Notes
Not notes