Update one business classification

patch

/fscmRestApi/resources/11.13.18.05/suppliers/{SupplierId}/child/businessClassifications/{ClassificationId}

Request

Path Parameters
  • 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=
  • 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=
Header Parameters
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Attachments
    Title: Attachments
    The attachments resource is used to view, create, and update attachments.
  • Title: Expiration Date
    Date on which the certificate that the certifying agency issues for the business classification expires.
  • Title: Certificate Number
    Maximum Length: 80
    Certificate that the certifying agency issues for the business classification.
  • Title: Start Date
    Date on which the certificate, which the certifying agency issues for the business classification, goes into effect.
  • Title: Certifying Agency
    Maximum Length: 255
    Agency that certifies the business classification for the supplier. This attribute is used when the Manage Certifying Agencies page in the Setup and Maintenance work area doesn't specify the agency you require.
  • Title: Certifying Agency
    Value that uniquely identifies the agency that certifies the business classification for the supplier.
  • Title: Classification
    Maximum Length: 80
    Classification for the supplier business.
  • Title: Classification
    Maximum Length: 30
    Abbreviation 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.
  • Title: Confirmed On
    Date when the application confirmed the business classification for the supplier.
  • Title: Notes
    Maximum Length: 1000
    Notes that describe the business classification for the supplier. The supplier or the person who manages the classification can enter notes.
  • Title: Other Certifying Agency
    Maximum Length: 255
    Agency that certifies the business classification for the supplier. Use this attribute when the Manage Certifying Agencies page in the Setup and Maintenance work area doesn't specify the agency you require.
  • Value that uniquely identifies the person in the supplier organization who provides the business classification details.
  • Email of the supplier contact who has provided the classification information.
  • First Name of the supplier contact who has provided the classification information.
  • Last Name of the supplier contact who has provided the classification information.
  • Title: Subclassification
    Maximum Length: 80
    Describes the subclassification when a minority owns the business classification.
  • Title: Subclassification
    Maximum Length: 240
    Abbreviation that identifies the subclassification when a minority owns a 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: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : suppliers-businessClassifications-attachments-item-patch-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : suppliers-businessClassifications-item-response
Type: object
Show Source
  • Attachments
    Title: Attachments
    The attachments resource is used to view, create, and update attachments.
  • Title: Expiration Date
    Date on which the certificate that the certifying agency issues for the business classification expires.
  • Title: Certificate Number
    Maximum Length: 80
    Certificate that the certifying agency issues for the business classification.
  • Title: Start Date
    Date on which the certificate, which the certifying agency issues for the business classification, goes into effect.
  • Title: Certifying Agency
    Maximum Length: 255
    Agency that certifies the business classification for the supplier. This attribute is used when the Manage Certifying Agencies page in the Setup and Maintenance work area doesn't specify the agency you require.
  • Title: Certifying Agency
    Value that uniquely identifies the agency that certifies the business classification for the supplier.
  • Title: Classification
    Maximum Length: 80
    Classification for the supplier business.
  • Title: Classification
    Maximum Length: 30
    Abbreviation 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.
  • Read Only: true
    Value that uniquely identifies the classification for the supplier business.
  • Title: Confirmed On
    Date when the application confirmed the business classification for the supplier.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the supplier business classification.
  • Title: Creation Date
    Read Only: true
    Date and time when the application created the supplier business classification.
  • Title: Last Updated Date
    Read Only: true
    Date when the supplier business classification row was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    User who last updated the supplier business classification row.
  • Links
  • Title: Notes
    Maximum Length: 1000
    Notes that describe the business classification for the supplier. The supplier or the person who manages the classification can enter notes.
  • Title: Other Certifying Agency
    Maximum Length: 255
    Agency that certifies the business classification for the supplier. Use this attribute when the Manage Certifying Agencies page in the Setup and Maintenance work area doesn't specify the agency you require.
  • Value that uniquely identifies the person in the supplier organization who provides the business classification details.
  • Read Only: true
    Maximum Length: 255
    Full name of the supplier contact who has provided the classification information.
  • Email of the supplier contact who has provided the classification information.
  • First Name of the supplier contact who has provided the classification information.
  • Last Name of the supplier contact who has provided the classification information.
  • Title: Status
    Read Only: true
    Maximum Length: 255
    Status of the business classification for the supplier.
  • Title: Subclassification
    Maximum Length: 80
    Describes the subclassification when a minority owns the business classification.
  • Title: Subclassification
    Maximum Length: 240
    Abbreviation that identifies the subclassification when a minority owns a 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: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : suppliers-businessClassifications-attachments-item-response
Type: object
Show Source
Back to Top

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"
	}
	]
}
Back to Top