[Depreciated]Activity REST API
Resource URL Summary
Retrieve the details of a specific Activity
GET /seiapi/v3/trans/Activity/${ActivityID}
Insert or Update the details of a specific Activity
PUT /seiapi/v3/trans/Activity/${ActivityID}
Delete a specific Activity
DELETE /seiapi/v3/trans/Activity/${ActivityID}
API Specific Parameters
Parameter | Description |
---|---|
| Identifies the Activity Object. Activity IDs are globally unique. |
HTTP Headers
This API uses the default ServiceMobility HTTP Headers.
API Specifics
Retrieve the details of a specific Activity
This REST API will return an Activity with the specified ID. The Activity with the specified ID must already exist in the system.
URL
GET /seiapi/v3/trans/Activity/${ActivityID}
HTTP Request Body
This request does not require a request body.
HTTP Response Body
On success, an HTTP response code of 200 will be returned, and the response body will contain an Activity Object. Otherwise, on error, the response body will contain a descriptive reason for the error.
Insert or Update the details of a specific Activity
This REST API will insert a new Activity with the specified ID into the system, if an Activity with the specified ID does not already exist in the system.
If, however, the Activity with the specified ID does already exist in the system, then this REST API will update (i.e. replace) the already existing Activity with the specified ID with the details of the Activity supplied in the HTTP Request Body.
URL
PUT /seiapi/v3/trans/Activity/${ActivityID}
HTTP Request Body
The HTTP request body must contain a valid Activity Object.
HTTP Response
On success the API will return a response code of 200.
Delete a specific Activity
This REST API will delete an Activity with the specified ID from the system. The Activity with the specified ID must already exist in the system.
URL
DELETE /seiapi/v3/trans/Activity/${ActivityID}
HTTP Request Body
This request does not require a request body.
HTTP Response
On success an HTTP response code of 200 will be returned. The system will return HTTP response code 410 in case of non-existent Activity Object.