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 ItemsThe 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:
1000The description of the template. -
EnabledFlag(optional):
string
Maximum Length:
1Indicates if the template is enabled. -
links(optional):
array Items
Title:
ItemsLink Relations -
Name(optional):
string
Maximum Length:
50The name of the template. -
TemplateId(optional):
string
Maximum Length:
20The unique identifier of the template.
Nested Schema : Conditions of Approval Template Items
Type:
arrayTitle:
Conditions of Approval Template ItemsThe 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:
20The identifier of the condition that is being linked to the template. -
EnabledFlag(optional):
string
Maximum Length:
1Indicates if the template item is enabled. -
links(optional):
array Items
Title:
ItemsLink Relations -
TemplateId(optional):
string
Maximum Length:
20The unique identifier of the template.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe 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 ItemsThe 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:
1000The description of the template. -
EnabledFlag(optional):
string
Maximum Length:
1Indicates if the template is enabled. -
links(optional):
array Items
Title:
ItemsLink Relations -
Name(optional):
string
Maximum Length:
50The name of the template. -
TemplateId(optional):
string
Maximum Length:
20The unique identifier of the template.
Nested Schema : Conditions of Approval Template Items
Type:
arrayTitle:
Conditions of Approval Template ItemsThe 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:
20The identifier of the condition that is being linked to the template. -
EnabledFlag(optional):
string
Maximum Length:
1Indicates if the template item is enabled. -
links(optional):
array Items
Title:
ItemsLink Relations -
TemplateId(optional):
string
Maximum Length:
20The unique identifier of the template.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.