Create a set of conditions of approval templates
post
/fscmRestApi/resources/11.13.18.05/publicSectorConditionOfApprovalTemplates
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorConditionOfApprovalTemplates-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier of the agency.
-
COATemplateItems(optional):
array Conditions of Approval Template Items
Title:
Conditions of Approval Template Items
The conditions of approval template item resource is used to create, update, and delete the template items used in the conditions of approval. -
Description(optional):
string
Maximum Length:
1000
The description of the template. -
EnabledFlag(optional):
string
Maximum Length:
1
Indicates if the template is enabled. -
links(optional):
array Items
Title:
Items
Link Relations -
Name(optional):
string
Maximum Length:
50
The name of the template. -
TemplateId(optional):
string
Maximum Length:
20
The unique identifier of the template.
Nested Schema : Conditions of Approval Template Items
Type:
array
Title:
Conditions of Approval Template Items
The conditions of approval template item resource is used to create, update, and delete the template items used in the conditions of approval.
Show Source
Nested Schema : publicSectorConditionOfApprovalTemplates-COATemplateItems-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier of the agency.
-
ConditionId(optional):
string
Maximum Length:
20
The identifier of the condition that is being linked to the template. -
EnabledFlag(optional):
string
Maximum Length:
1
Indicates if the template item is enabled. -
links(optional):
array Items
Title:
Items
Link Relations -
TemplateId(optional):
string
Maximum Length:
20
The unique identifier of the template.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorConditionOfApprovalTemplates-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier of the agency.
-
COATemplateItems(optional):
array Conditions of Approval Template Items
Title:
Conditions of Approval Template Items
The conditions of approval template item resource is used to create, update, and delete the template items used in the conditions of approval. -
Description(optional):
string
Maximum Length:
1000
The description of the template. -
EnabledFlag(optional):
string
Maximum Length:
1
Indicates if the template is enabled. -
links(optional):
array Items
Title:
Items
Link Relations -
Name(optional):
string
Maximum Length:
50
The name of the template. -
TemplateId(optional):
string
Maximum Length:
20
The unique identifier of the template.
Nested Schema : Conditions of Approval Template Items
Type:
array
Title:
Conditions of Approval Template Items
The conditions of approval template item resource is used to create, update, and delete the template items used in the conditions of approval.
Show Source
Nested Schema : publicSectorConditionOfApprovalTemplates-COATemplateItems-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier of the agency.
-
ConditionId(optional):
string
Maximum Length:
20
The identifier of the condition that is being linked to the template. -
EnabledFlag(optional):
string
Maximum Length:
1
Indicates if the template item is enabled. -
links(optional):
array Items
Title:
Items
Link Relations -
TemplateId(optional):
string
Maximum Length:
20
The unique identifier of the template.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.