NOT FOR PUBLIC DISTRIBUTION: 2020-09-23
Create/ Add a new profile template header
post
/spms/v1/profileConfigurationHeaders
This is to create/ add a new profile template header
Request
Supported Media Types
- application/json
Required to create Profile template Header
Root Schema : ProfileConfigurationHeader
Type:
object
Profile Template Header
Show Source
-
enabled(optional):
boolean
Example:
Profile Template Header status
-
name:
string
Minimum Value:
1
Maximum Value:100
Pattern:^[a-zA-Z0-9 ]*$
Example:Profile Template Header name
Response
Supported Media Types
- application/json
201 Response
Profile Template Header has been created
Root Schema : schema
Type:
Show Source
array
-
Array of:
object ProfileConfigurationHeaderResponse
The Profile Template Header
Nested Schema : ProfileConfigurationHeaderResponse
Type:
object
The Profile Template Header
Show Source
-
enabled(optional):
boolean
Example:
true
-
id(optional):
integer
This is the primary key for profile template categoryExample:
1
-
modDate(optional):
string
This is indicates the modified date and time of this headerExample:
2019-07-22T08:46:58
-
name(optional):
string
Minimum Value:
1
Maximum Value:100
Pattern:^[a-zA-Z0-9 ]*$
Example:Profile Template Header name
400 Response
Invalid parameter(s) passed in
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
401 Response
You are not authorized to use this API
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
403 Response
You are forbidden to use this API
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
405 Response
This method is not available
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
409 Response
You are trying to create a new profile template header that exist
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
415 Response
The media supplied is not supported
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
500 Response
Error occurred while processing this request
Root Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
-
detail(optional):
string
Example:
There are validation errors for the object......
-
title(optional):
string
Example:
validation fails for row with key={123}
-
type(optional):
string
Example:
HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
502 Response
Bad Gateway
503 Response
Service not available