Update one business classification
patch
/fscmRestApi/resources/11.13.18.05/suppliers/{SupplierId}/child/businessClassifications/{ClassificationId}
Request
Path Parameters
-
ClassificationId(required): integer(int64)
Value that uniquely identifies the classification for the supplier business.
-
SupplierId(required): integer(int64)
Value that uniquely identifies the supplier.
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-
attachments: array
Attachments
Title:
AttachmentsThe Attachments resource manages attachments for a supplier business classification. -
CertificateExpirationDate: string
(date)
Title:
Expiration DateDate when the certificate that the certifying agency issues for the business classification expires. -
CertificateNumber: string
Title:
Certificate NumberMaximum Length:80Certificate that the certifying agency issues for the business classification. -
CertificateStartDate: string
(date)
Title:
Start DateDate when the certificate that the certifying agency issues for the business classification goes into effect. -
CertifyingAgency: string
Title:
Certifying AgencyMaximum Length:255Agency that certifies the business classification for the supplier. -
CertifyingAgencyId: integer
(int64)
Title:
Certifying AgencyValue that uniquely identifies the agency that certifies the business classification for the supplier. -
Classification: string
Title:
ClassificationMaximum Length:80Classification for the supplier business. -
ClassificationCode: string
Title:
ClassificationMaximum Length:30Abbreviation that identifies the classification for the supplier business. A list of accepted values is defined in the lookup type POZ_BUSINESS_CLASSIFICATIONS. Review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Business Classification Lookup task. -
ConfirmedOnDate: string
(date)
Title:
Confirmed OnDate when the application confirmed the business classification for the supplier. -
Notes: string
Title:
NotesMaximum Length:1000Notes that describe the business classification for the supplier. The supplier or the person who manages the classification can enter notes. -
OtherCertifyingAgency: string
Title:
Other Certifying AgencyMaximum Length:255Agency that certifies the business classification for the supplier. Use this attribute when the Manage Certifying Agencies page in the Setup and Maintenance work area does not specify the agency you require. -
ProvidedByContactId: integer
(int64)
Value that uniquely identifies the person in the supplier organization who provides the business classification details.
-
ProvidedByEmail: string
Email of the person in the supplier organization who provides business classification details.
-
ProvidedByUserFirstName: string
First name of the person in the supplier organization who provides business classification details.
-
ProvidedByUserLastName: string
Last name of the person in the supplier organization who provides business classification details.
-
Subclassification: string
Title:
SubclassificationMaximum Length:80Describes the subclassification when a minority owns the business classification. -
SubclassificationCode: string
Title:
SubclassificationMaximum Length:240Abbreviation that identifies the subclassification when a minority owns the business classification. A list of accepted values is defined in the lookup type POZ_MINORITY_GROUP. Review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Standard Lookups task.
Nested Schema : Attachments
Type:
arrayTitle:
AttachmentsThe Attachments resource manages attachments for a supplier business classification.
Show Source
Nested Schema : suppliers-businessClassifications-attachments-item-patch-request
Type:
Show Source
object-
CategoryName: string
Title:
CategoryMaximum Length:30Category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the content in the attachment expires. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048File name of the attachment. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) of the attachment. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attachment file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) that identifies the attachment. -
Url: string
Title:
UrlMaximum Length:4000URI (Uniform Resource Identifier) that identifies the attachment.
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 : suppliers-businessClassifications-item-response
Type:
Show Source
object-
attachments: array
Attachments
Title:
AttachmentsThe Attachments resource manages attachments for a supplier business classification. -
CertificateExpirationDate: string
(date)
Title:
Expiration DateDate when the certificate that the certifying agency issues for the business classification expires. -
CertificateNumber: string
Title:
Certificate NumberMaximum Length:80Certificate that the certifying agency issues for the business classification. -
CertificateStartDate: string
(date)
Title:
Start DateDate when the certificate that the certifying agency issues for the business classification goes into effect. -
CertifyingAgency: string
Title:
Certifying AgencyMaximum Length:255Agency that certifies the business classification for the supplier. -
CertifyingAgencyId: integer
(int64)
Title:
Certifying AgencyValue that uniquely identifies the agency that certifies the business classification for the supplier. -
Classification: string
Title:
ClassificationMaximum Length:80Classification for the supplier business. -
ClassificationCode: string
Title:
ClassificationMaximum Length:30Abbreviation that identifies the classification for the supplier business. A list of accepted values is defined in the lookup type POZ_BUSINESS_CLASSIFICATIONS. Review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Business Classification Lookup task. -
ClassificationId: integer
(int64)
Read Only:
trueValue that uniquely identifies the classification for the supplier business. -
ConfirmedOnDate: string
(date)
Title:
Confirmed OnDate when the application confirmed the business classification for the supplier. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64User who created the supplier record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the supplier record. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueDate and time when the user most recently updated the supplier record. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who most recently updated the supplier record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Notes: string
Title:
NotesMaximum Length:1000Notes that describe the business classification for the supplier. The supplier or the person who manages the classification can enter notes. -
OtherCertifyingAgency: string
Title:
Other Certifying AgencyMaximum Length:255Agency that certifies the business classification for the supplier. Use this attribute when the Manage Certifying Agencies page in the Setup and Maintenance work area does not specify the agency you require. -
ProvidedByContactId: integer
(int64)
Value that uniquely identifies the person in the supplier organization who provides the business classification details.
-
ProvidedByEmail: string
Email of the person in the supplier organization who provides business classification details.
-
ProvidedByUserFirstName: string
First name of the person in the supplier organization who provides business classification details.
-
ProvidedByUserLastName: string
Last name of the person in the supplier organization who provides business classification details.
-
Status: string
Title:
StatusRead Only:trueMaximum Length:255Status of the business classification for the supplier. -
Subclassification: string
Title:
SubclassificationMaximum Length:80Describes the subclassification when a minority owns the business classification. -
SubclassificationCode: string
Title:
SubclassificationMaximum Length:240Abbreviation that identifies the subclassification when a minority owns the business classification. A list of accepted values is defined in the lookup type POZ_MINORITY_GROUP. Review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Standard Lookups task.
Nested Schema : Attachments
Type:
arrayTitle:
AttachmentsThe Attachments resource manages attachments for a supplier business classification.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : suppliers-businessClassifications-attachments-item-response
Type:
Show Source
object-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAn identifier used for tracking the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attachment of a question. It is a primary key that the application creates when the user attaches a document to the question. -
CategoryName: string
Title:
CategoryMaximum Length:30Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255User who created the attachment. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueSign in details for the user who created the attachment for the question. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the attachment record. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the content in the attachment expires. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048File name of the attachment. -
FileUrl: string
Title:
File UrlURL (Uniform Resource Locator) of the attachment. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueThe base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate and time when the user most recently updated the document that a user attached to the question. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255Sign in details of the user who most recently updated the document that a user attached to the question. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueSign in details for the user used who updated the attachment for the question. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attachment file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000URI (Uniform Resource Identifier) that identifies the attachment. -
Url: string
Title:
UrlMaximum Length:4000URI (Uniform Resource Identifier) that identifies the attachment. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255Sign in details that the user used when adding or modifying the attachment.
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
- attachments
-
Parameters:
- ClassificationId:
$request.path.ClassificationId - SupplierId:
$request.path.SupplierId
The Attachments resource manages attachments for a supplier business classification. - ClassificationId:
Examples
This example describes how to update a business classification.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/suppliers/SupplierId/child/businessClassifications/ClassificationId"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{
"CertificateStartDate": "2019-11-12",
"CertificateExpirationDate": "2022-11-11"
}
Example Response Body
The following example includes the contents of the response body in JSON format:
{
"ClassificationId": 300100184758008,
"ClassificationCode": "HUB_ZONE",
"Classification": "Hub Zone",
"SubclassificationCode": null,
"Subclassification": null,
"Status": "CURRENT",
"CertifyingAgencyId": 3,
"CertifyingAgency": "Agency_1",
"OtherCertifyingAgency": null,
"CertificateNumber": "0099",
"CertificateStartDate": "2019-11-12",
"CertificateExpirationDate": "2022-11-11",
"Notes": "We specialize in hand made products",
"ProvidedByUserFirstName": null,
"ProvidedByUserLastName": null,
"ConfirmedOnDate": null,
"ProvidedByContactId": null,
"ProvidedByEmail": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/suppliers/999992000331527/child/businessClassifications/300100184758008",
"name": "businessClassifications",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/suppliers/999992000331527/child/businessClassifications/300100184758008",
"name": "businessClassifications",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/suppliers/999992000331527",
"name": "suppliers",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/suppliers/999992000331527/child/businessClassifications/300100184758008/lov/BusinessClassificationLookup",
"name": "BusinessClassificationLookup",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/suppliers/999992000331527/child/businessClassifications/300100184758008/lov/SubclassificationLookup",
"name": "SubclassificationLookup",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/suppliers/999992000331527/child/businessClassifications/300100184758008/lov/CertifyingAgencyLookup",
"name": "CertifyingAgencyLookup",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/suppliers/999992000331527/child/businessClassifications/300100184758008/child/attachments",
"name": "attachments",
"kind": "collection"
}
]
}