Update one document type
patch
/fscmRestApi/resources/11.13.18.05/procurementBusinessFunctions/{ProcurementBUId}/child/documentTypes/{documentTypesUniqID}
Request
Path Parameters
-
ProcurementBUId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
documentTypesUniqID(required): string
This is the hash key of the attributes which make up the composite key--- ProcurementBUId, DocumentTypeCode and DocumentSubtype ---for the Document Types resource and used to uniquely identify an instance of Document Types. The client should not generate the hash key value. Instead, the client should query on the Document Types collection resource with a filter on the primary key values in order to navigate to a specific instance of Document Types.
For example: documentTypes?q=ProcurementBUId=<value1>;DocumentTypeCode=<value2>;DocumentSubtype=<value3>
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-
ChangeOrderTemplateId: integer
(int64)
Title:
Change Order TemplateUnique identifier of the change order template. -
ChangeOrderTemplateName: string
Title:
Change Order TemplateName of the change order template. -
ContractLayout: string
Title:
Contract Terms LayoutMaximum Length:240Layout used for the contract terms. -
DFF: array
DFF
-
DisplayName: string
Title:
Display NameMaximum Length:80Display name for the document type. -
DocumentLayout: string
Title:
Document LayoutMaximum Length:240Layout used to format the document. -
DocumentSubtype: string
Title:
Document SubtypeMaximum Length:25Subtype of the document type. -
DocumentTypeCode: string
Title:
TypeMaximum Length:25Code that identifies the document type. -
NegotiationLayout: string
Title:
Negotiation LayoutMaximum Length:240Layout used for the negotiation type. -
NegotiationLayoutForBuyer: string
Title:
Negotiation Layout for BuyerMaximum Length:240Layout that buyers use for negotiations. -
NegotiationLayoutForSupplier: string
Title:
Negotiation Layout for SupplierMaximum Length:240Layout used for supplier-facing negotiations. -
NegotiationResponseLayout: string
Title:
Response LayoutMaximum Length:240Layout used for responses in the negotiation. -
TemplateExistsFlag: boolean
Maximum Length:
1Indicates whether a template exists for the document type. Contains one of the following values: true or false. If true, then a template exists for the document type. If false, then a template doesn't exist for the document type. This attribute doesn't have a default value.
Nested Schema : procurementBusinessFunctions-documentTypes-DFF-item-patch-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context PromptMaximum Length:30Context Prompt -
__FLEX_Context_DisplayValue: string
Title:
Context PromptContext Prompt -
DocumentSubtype: string
Maximum Length:
25 -
DocumentTypeCode: string
Title:
TypeMaximum Length:25 -
PrcBuId: integer
(int64)
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 : procurementBusinessFunctions-documentTypes-item-response
Type:
Show Source
object-
ChangeOrderTemplateId: integer
(int64)
Title:
Change Order TemplateUnique identifier of the change order template. -
ChangeOrderTemplateName: string
Title:
Change Order TemplateName of the change order template. -
ContractLayout: string
Title:
Contract Terms LayoutMaximum Length:240Layout used for the contract terms. -
DFF: array
DFF
-
DisplayName: string
Title:
Display NameMaximum Length:80Display name for the document type. -
DocumentLayout: string
Title:
Document LayoutMaximum Length:240Layout used to format the document. -
DocumentSubtype: string
Title:
Document SubtypeMaximum Length:25Subtype of the document type. -
DocumentTypeCode: string
Title:
TypeMaximum Length:25Code that identifies the document type. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueDate and time when document type was last updated. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NegotiationLayout: string
Title:
Negotiation LayoutMaximum Length:240Layout used for the negotiation type. -
NegotiationLayoutForBuyer: string
Title:
Negotiation Layout for BuyerMaximum Length:240Layout that buyers use for negotiations. -
NegotiationLayoutForSupplier: string
Title:
Negotiation Layout for SupplierMaximum Length:240Layout used for supplier-facing negotiations. -
NegotiationResponseLayout: string
Title:
Response LayoutMaximum Length:240Layout used for responses in the negotiation. -
ProcurementBUId: integer
(int64)
Title:
Procurement BURead Only:trueValue that uniquely identifies a business unit. -
TemplateExistsFlag: boolean
Maximum Length:
1Indicates whether a template exists for the document type. Contains one of the following values: true or false. If true, then a template exists for the document type. If false, then a template doesn't exist for the document type. This attribute doesn't have a default value.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : procurementBusinessFunctions-documentTypes-DFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context PromptMaximum Length:30Context Prompt -
__FLEX_Context_DisplayValue: string
Title:
Context PromptContext Prompt -
DocumentSubtype: string
Maximum Length:
25 -
DocumentTypeCode: string
Title:
TypeMaximum Length:25 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PrcBuId: integer
(int64)
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.
Links
- DFF
-
Parameters:
- ProcurementBUId:
$request.path.ProcurementBUId - documentTypesUniqID:
$request.path.documentTypesUniqID
- ProcurementBUId: