Create one contract document
post
/fscmRestApi/resources/11.13.18.05/draftPurchaseAgreements/{draftPurchaseAgreementsUniqID}/child/templateUsages/{templateUsagesUniqID}/child/Section
Request
Path Parameters
-
draftPurchaseAgreementsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Draft Purchase Agreements resource and used to uniquely identify an instance of Draft Purchase Agreements. The client should not generate the hash key value. Instead, the client should query on the Draft Purchase Agreements collection resource in order to navigate to a specific instance of Draft Purchase Agreements to get the hash key.
-
templateUsagesUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Template Usages resource and used to uniquely identify an instance of Template Usages. The client should not generate the hash key value. Instead, the client should query on the Template Usages collection resource in order to navigate to a specific instance of Template Usages to get the hash key.
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
Alignment: string
Maximum Length:
80Source of the template. Possible values are STRUCTURED and ATTACHED. -
AmendmentOperationCode: string
Title:
Change TypeMaximum Length:30 -
Clause: array
Contract Documents for Contract Terms
Title:
Contract Documents for Contract TermsDetails of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category. -
CreateFrom: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
Description: string
Title:
DescriptionMaximum Length:2000Description of the contract template used in the business document. -
Heading: string
Title:
SectionMaximum Length:300Name of the contract template used in the business document. -
Id: integer
Unique identifier for the contract template used in the business document.
-
Label: string
Maximum Length:
60Name of the contract template used in the business document. -
LibraryScnId: number
Unique identifier for the contract template used in the business document.
-
ScnId: number
Unique identifier for the contract template used in the business document.
-
SkipNumbering: string
Maximum Length:
1Indicates whether the contract is simple. -
StartOnNewPage: string
Maximum Length:
1Indicates whether the contract is simple. -
SubSection: array
Template Usages
Title:
Template UsagesThe relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001. -
SuppressScnNamePrint: string
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : Contract Documents for Contract Terms
Type:
arrayTitle:
Contract Documents for Contract TermsDetails of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category.
Show Source
Nested Schema : Template Usages
Type:
arrayTitle:
Template UsagesThe relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001.
Show Source
Nested Schema : schema
Type:
Show Source
object-
AmendmentDescription: string
Maximum Length:
2000Asynchronous tracker ID of the contract document. -
ArticleId: integer
(int64)
Unique identifier of the contract document.
-
ArticleVersionId: number
Unique identifier of the contract document.
-
ClauseDescription: string
Maximum Length:
2000Description of the contract document. -
ClauseDisplayTitle: string
Maximum Length:
450Title of the contract document. -
ClauseTextInHTML: string
(byte)
HTML content of the simple contract terms.
-
ClauseTitle: string
Maximum Length:
450Title of the contract document. -
ClauseType: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
SkipNumberingFlag: boolean
Maximum Length:
1Indicates whether the contract is simple. -
SuppressTitleFlag: boolean
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : schema
Type:
Show Source
object-
Alignment: string
Maximum Length:
80Source of the template. Possible values are STRUCTURED and ATTACHED. -
AmendmentOperationCode: string
Title:
Change TypeMaximum Length:30 -
Clause: array
Contract Documents for Contract Terms
Title:
Contract Documents for Contract TermsDetails of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category. -
CreateFrom: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
Description: string
Title:
DescriptionMaximum Length:2000Description of the contract template used in the business document. -
Heading: string
Title:
SectionMaximum Length:300Name of the contract template used in the business document. -
Id: integer
Unique identifier for the contract template used in the business document.
-
Label: string
Maximum Length:
60Name of the contract template used in the business document. -
LibraryScnId: number
Unique identifier for the contract template used in the business document.
-
ScnId: number
Unique identifier for the contract template used in the business document.
-
SkipNumbering: string
Maximum Length:
1Indicates whether the contract is simple. -
StartOnNewPage: string
Maximum Length:
1Indicates whether the contract is simple. -
SubSection: array
Template Usages
Title:
Template UsagesThe relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001. -
SuppressScnNamePrint: string
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : Contract Documents for Contract Terms
Type:
arrayTitle:
Contract Documents for Contract TermsDetails of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category.
Show Source
Nested Schema : Template Usages
Type:
arrayTitle:
Template UsagesThe relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001.
Show Source
Nested Schema : schema
Type:
Show Source
object-
AmendmentDescription: string
Maximum Length:
2000Asynchronous tracker ID of the contract document. -
ArticleId: integer
(int64)
Unique identifier of the contract document.
-
ArticleVersionId: number
Unique identifier of the contract document.
-
ClauseDescription: string
Maximum Length:
2000Description of the contract document. -
ClauseDisplayTitle: string
Maximum Length:
450Title of the contract document. -
ClauseTextInHTML: string
(byte)
HTML content of the simple contract terms.
-
ClauseTitle: string
Maximum Length:
450Title of the contract document. -
ClauseType: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
SkipNumberingFlag: boolean
Maximum Length:
1Indicates whether the contract is simple. -
SuppressTitleFlag: boolean
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : schema
Type:
Show Source
object-
Alignment: string
Maximum Length:
80Source of the template. Possible values are STRUCTURED and ATTACHED. -
AmendmentOperationCode: string
Title:
Change TypeMaximum Length:30 -
CreateFrom: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
Description: string
Title:
DescriptionMaximum Length:2000Description of the contract template used in the business document. -
Heading: string
Title:
SectionMaximum Length:300Name of the contract template used in the business document. -
Id: integer
Unique identifier for the contract template used in the business document.
-
Label: string
Maximum Length:
60Name of the contract template used in the business document. -
LibraryScnId: number
Unique identifier for the contract template used in the business document.
-
ScnId: number
Unique identifier for the contract template used in the business document.
-
SkipNumbering: string
Maximum Length:
1Indicates whether the contract is simple. -
StartOnNewPage: string
Maximum Length:
1Indicates whether the contract is simple. -
SuppressScnNamePrint: string
Maximum Length:
1Indicates whether the contract is simple.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : draftPurchaseAgreements-templateUsages-Section-item-response
Type:
Show Source
object-
Alignment: string
Maximum Length:
80Source of the template. Possible values are STRUCTURED and ATTACHED. -
AmendmentOperationCode: string
Title:
Change TypeMaximum Length:30 -
Clause: array
Contract Documents for Contract Terms
Title:
Contract Documents for Contract TermsDetails of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category. -
CreateFrom: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
Description: string
Title:
DescriptionMaximum Length:2000Description of the contract template used in the business document. -
Heading: string
Title:
SectionMaximum Length:300Name of the contract template used in the business document. -
Id: integer
Unique identifier for the contract template used in the business document.
-
Label: string
Maximum Length:
60Name of the contract template used in the business document. -
LibraryScnId: number
Unique identifier for the contract template used in the business document.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ScnId: number
Unique identifier for the contract template used in the business document.
-
SkipNumbering: string
Maximum Length:
1Indicates whether the contract is simple. -
StartOnNewPage: string
Maximum Length:
1Indicates whether the contract is simple. -
SubSection: array
Template Usages
Title:
Template UsagesThe relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001. -
SuppressScnNamePrint: string
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : Contract Documents for Contract Terms
Type:
arrayTitle:
Contract Documents for Contract TermsDetails of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Template Usages
Type:
arrayTitle:
Template UsagesThe relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001.
Show Source
Nested Schema : draftPurchaseAgreements-templateUsages-Section-Clause-item-response
Type:
Show Source
object-
AmendmentDescription: string
Maximum Length:
2000Asynchronous tracker ID of the contract document. -
AmendmentOperationCode: string
Read Only:
trueMaximum Length:30 -
ArticleId: integer
(int64)
Unique identifier of the contract document.
-
ArticleVersionId: number
Unique identifier of the contract document.
-
ArticleVersionNumber: integer
(int64)
Read Only:
trueVersion number of the contract document in the content server. -
ClauseDescription: string
Maximum Length:
2000Description of the contract document. -
ClauseDisplayTitle: string
Maximum Length:
450Title of the contract document. -
ClauseId: integer
(int64)
Read Only:
trueUnique identifier of the contract document. -
ClauseLabel: string
Read Only:
trueMaximum Length:60Title of the contract document. -
ClauseNumber: string
Read Only:
trueMaximum Length:240Asynchronous tracker ID of the contract document. -
ClauseSection: string
Read Only:
trueMaximum Length:300Title of the contract document. -
ClauseTextInHTML: string
(byte)
HTML content of the simple contract terms.
-
ClauseTextInWord: string
(byte)
Read Only:
trueHTML content of the simple contract terms. -
ClauseTitle: string
Maximum Length:
450Title of the contract document. -
ClauseType: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
ContractExpertFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
DocumentId: number
Read Only:
trueUnique identifier of the contract document. -
DocumentType: string
Read Only:
trueMaximum Length:30Asynchronous tracker ID of the contract document. -
HasAlternateFlag: boolean
Read Only:
trueIndicates whether the contract is simple. -
Id: integer
(int64)
Read Only:
trueUnique identifier of the contract document. -
IncludeByReferenceFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
Instructions: string
Read Only:
trueMaximum Length:2000Description of the contract document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MajorVersion: integer
(int64)
Read Only:
trueVersion number of the contract document in the content server. -
MandatoryFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
NonstandardFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
OrgId: integer
(int64)
Read Only:
trueUnique identifier of the contract document. -
ProtectedTextFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
ScnId: number
Read Only:
trueUnique identifier of the contract document. -
SkipNumberingFlag: boolean
Maximum Length:
1Indicates whether the contract is simple. -
SuppressTitleFlag: boolean
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : draftPurchaseAgreements-templateUsages-Section-SubSection-item-response
Type:
Show Source
object-
Alignment: string
Maximum Length:
80Source of the template. Possible values are STRUCTURED and ATTACHED. -
AmendmentOperationCode: string
Title:
Change TypeMaximum Length:30 -
Clause: array
Contract Documents for Contract Terms
Title:
Contract Documents for Contract TermsDetails of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category. -
CreateFrom: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
Description: string
Title:
DescriptionMaximum Length:2000Description of the contract template used in the business document. -
Heading: string
Title:
SectionMaximum Length:300Name of the contract template used in the business document. -
Id: integer
Unique identifier for the contract template used in the business document.
-
Label: string
Maximum Length:
60Name of the contract template used in the business document. -
LibraryScnId: number
Unique identifier for the contract template used in the business document.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ScnId: number
Unique identifier for the contract template used in the business document.
-
SkipNumbering: string
Maximum Length:
1Indicates whether the contract is simple. -
StartOnNewPage: string
Maximum Length:
1Indicates whether the contract is simple. -
SubSection: array
Template Usages
Title:
Template UsagesThe relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001. -
SuppressScnNamePrint: string
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : Contract Documents for Contract Terms
Type:
arrayTitle:
Contract Documents for Contract TermsDetails of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Template Usages
Type:
arrayTitle:
Template UsagesThe relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001.
Show Source
Nested Schema : draftPurchaseAgreements-templateUsages-Section-SubSection-Clause-item-response
Type:
Show Source
object-
AmendmentDescription: string
Maximum Length:
2000Asynchronous tracker ID of the contract document. -
AmendmentOperationCode: string
Read Only:
trueMaximum Length:30 -
ArticleId: integer
(int64)
Unique identifier of the contract document.
-
ArticleVersionId: number
Unique identifier of the contract document.
-
ArticleVersionNumber: integer
(int64)
Read Only:
trueVersion number of the contract document in the content server. -
ClauseDescription: string
Maximum Length:
2000Description of the contract document. -
ClauseDisplayTitle: string
Maximum Length:
450Title of the contract document. -
ClauseId: integer
(int64)
Read Only:
trueUnique identifier of the contract document. -
ClauseLabel: string
Read Only:
trueMaximum Length:60Title of the contract document. -
ClauseNumber: string
Read Only:
trueMaximum Length:240Asynchronous tracker ID of the contract document. -
ClauseSection: string
Read Only:
trueMaximum Length:300Title of the contract document. -
ClauseTextInHTML: string
(byte)
HTML content of the simple contract terms.
-
ClauseTextInWord: string
(byte)
Read Only:
trueHTML content of the simple contract terms. -
ClauseTitle: string
Maximum Length:
450Title of the contract document. -
ClauseType: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
ContractExpertFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
DocumentId: number
Read Only:
trueUnique identifier of the contract document. -
DocumentType: string
Read Only:
trueMaximum Length:30Asynchronous tracker ID of the contract document. -
HasAlternateFlag: boolean
Read Only:
trueIndicates whether the contract is simple. -
Id: integer
(int64)
Read Only:
trueUnique identifier of the contract document. -
IncludeByReferenceFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
Instructions: string
Read Only:
trueMaximum Length:2000Description of the contract document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MajorVersion: integer
(int64)
Read Only:
trueVersion number of the contract document in the content server. -
MandatoryFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
NonstandardFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
OrgId: integer
(int64)
Read Only:
trueUnique identifier of the contract document. -
ProtectedTextFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the contract is simple. -
ScnId: number
Read Only:
trueUnique identifier of the contract document. -
SkipNumberingFlag: boolean
Maximum Length:
1Indicates whether the contract is simple. -
SuppressTitleFlag: boolean
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : draftPurchaseAgreements-templateUsages-Section-SubSection-SubSection-item-response
Type:
Show Source
object-
Alignment: string
Maximum Length:
80Source of the template. Possible values are STRUCTURED and ATTACHED. -
AmendmentOperationCode: string
Title:
Change TypeMaximum Length:30 -
CreateFrom: string
Source of the template. Possible values are STRUCTURED and ATTACHED.
-
Description: string
Title:
DescriptionMaximum Length:2000Description of the contract template used in the business document. -
Heading: string
Title:
SectionMaximum Length:300Name of the contract template used in the business document. -
Id: integer
Unique identifier for the contract template used in the business document.
-
Label: string
Maximum Length:
60Name of the contract template used in the business document. -
LibraryScnId: number
Unique identifier for the contract template used in the business document.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ScnId: number
Unique identifier for the contract template used in the business document.
-
SkipNumbering: string
Maximum Length:
1Indicates whether the contract is simple. -
StartOnNewPage: string
Maximum Length:
1Indicates whether the contract is simple. -
SuppressScnNamePrint: string
Maximum Length:
1Indicates whether the contract is simple.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- Clause
-
Parameters:
- SectionUniqID:
$request.path.SectionUniqID - draftPurchaseAgreementsUniqID:
$request.path.draftPurchaseAgreementsUniqID - templateUsagesUniqID:
$request.path.templateUsagesUniqID
Details of the contract document associated with the contract terms of a purchasing document. The information includes the file name, title, description, and category. - SectionUniqID:
- SubSection
-
Parameters:
- SectionUniqID:
$request.path.SectionUniqID - draftPurchaseAgreementsUniqID:
$request.path.draftPurchaseAgreementsUniqID - templateUsagesUniqID:
$request.path.templateUsagesUniqID
The relationship between a contract template and the business document in which it's used. For example, the Subcontracting Terms and Conditions contract template is used in the purchase agreement 11001. - SectionUniqID: