Create a new provider template
Creates a new template row with isActive=false. The template must go through the approval workflow (submit to provider, then call PUT /{uuid}/update-metadata) before it becomes active. Uniqueness is enforced on name+dealerUuid (across all valid rows) and on templateName+dealerUuid+language+channel (among active rows only).
ApiScope: manage.providertemplate.write
API Scope Level: MultiDealerScope
application/json
Request Body required
dealerUuids string[]
templateName string
category string
language string
body string
type string
channel string
isManual boolean
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
links object
property name* string
providerTemplates object[]
uuid string
dealerUuid string
templateName string
friendlyName string
metaDisplayName string
category string
contentSid string
language string
body string
approvalStatus string
type string
channel string
isValid boolean
rejectionReason string
isManual boolean
isActive boolean
dateCreated string
dateUpdated string
insertTs string
updateTs string
totalPages int32
totalElements int64
currentPage int32
pageSize int32
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"links": {},
"providerTemplates": [
{
"uuid": "string",
"dealerUuid": "string",
"templateName": "string",
"friendlyName": "string",
"metaDisplayName": "string",
"category": "string",
"contentSid": "string",
"language": "string",
"body": "string",
"approvalStatus": "string",
"type": "string",
"channel": "string",
"isValid": true,
"rejectionReason": "string",
"isManual": true,
"isActive": true,
"dateCreated": "string",
"dateUpdated": "string",
"insertTs": "string",
"updateTs": "string"
}
],
"totalPages": 0,
"totalElements": 0,
"currentPage": 0,
"pageSize": 0
}
Bad Request
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Loading...