Template REST API
Resource URL Summary
Retrieve the details of a specific Template
GET /seiapi/v3/trans/Template/${DeploymentGroupID}/${TemplateID}/{$LanguageID}
Update details of a specific Template
POST /seiapi/v3/trans/Template/${DeploymentGroupID}/${TemplateID}/{$LanguageID}
API Specific Parameters
Parameter | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Identifies the Deployment Group. The system default deployment group ID is | ||||||||||||||||||||||||||||||
${LanguageID} | Identifies the language ID of the template. This parameter must be a valid language ID of the currently configured entity. | ||||||||||||||||||||||||||||||
| The system defined Template ID. Valid values are:
|
Supported HTTP Methods
Method | Description |
---|---|
GET | Returns the system template identified by the ${id}/${languageId} combination |
POST | Updates the system template identified by the ${id}/${languageId} combination |
HTTP Headers
This API uses the default ServiceMobility HTTP Headers.
HTTP Headers
This API uses the default ServiceMobility HTTP Headers.
HTTP Body
The body contains the template definition.
All Templates should use an HTTP Content-Type of text/plain.
HTTP Response
Response Codes
HTTP Code | Description |
---|---|
200 | OK. Request was processed successfully. Even though the request may return a successful code of 200, the body may still contain warning details. |
400 | Syntax error in request. The response body will provide more details on the specific reason. Verify the URI, its parameters, and request body. |
401 | Unauthorized. The credentials are incorrect, please verify and try again. |
404 | Not Found. The URL is incorrect, please verify and try again. |
405 | The specified HTTP method is not supported for this resource. |
409 | Conflict. This error usually occurs when attempting to overwrite an existing object that can not be replaced. |
410 | The specified object does not exists. Please verify the URI. |
500 | An error has occurred within ServiceMobility. Please review the error message details and if necessary, contact customer support. |
Response Body
{ "code": 400, "detail": { "message": "", "params": { "value": "" }, "dataPath": "" } }
Response Object Properties
Property | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | The HTTP response code. | ||||||||||||
detail | object | This object provides additional details the system provided while processing the transactions. Usually the details provide additional information on why an error occurred. However, it may also provide warning details even when the requests was successful. For example, the request may have returned a response of 200=OK, but included warnings in the response body of properties that are still being used that are marked for deprecation.
|