Update a question response

patch

/fscmRestApi/resources/11.13.18.05/supplierQualificationQuestionResponses/{ResponseRepositoryId}

Request

Path Parameters
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
Nested Schema : Values
Type: array
Title: Values
The Values resource manages the values for the question responses.
Show Source
Nested Schema : supplierQualificationQuestionResponses-values-item-patch-request
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : supplierQualificationQuestionResponses-values-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 : supplierQualificationQuestionResponses-item-response
Type: object
Show Source
  • Title: Acceptance Date
    Date when the response to the question was accepted.
  • Title: Acceptance Note
    Maximum Length: 1000
    Notes entered by the responder.
  • Title: Accepted By
    Maximum Length: 240
    Name of the person who accepted the qualification response.
  • Value that uniquely identifies the person who accepted the qualification response.
  • Title: Aggregate Response
    Maximum Length: 1
    Default Value: false
    Contains one of the following values: true or false. If true, then the record is of aggregate type. If false, then the record is not of type aggregate. The default value is false.
  • Read Only: true
    Value that uniquely identifies the document from the source application, such as Bid Number, Questionnaire Response ID, Profile ID driving profile change, and Supplier Registration ID.
  • Title: Data Source Type
    Read Only: true
    Maximum Length: 80
    Value that identifies the source of the data.
  • Read Only: true
    Maximum Length: 30
    Default Value: REST_API_SERVICE
    Abbreviation that identifies the source application. A list of accepted values is defined in the lookup type ORA_POQ_QSTN_RESP_DATA_SOURCE. Review the values for this attribute using the Setup and Maintenance work area, and the Manage Standard Lookups task.
  • Title: First Submission Date
    Read Only: true
    Date and time when the response was submitted for the first time by the responder.
  • Title: Internal Responder
    Maximum Length: 240
    Name of the internal responder who is responsible for responding to the questions.
  • Value that uniquely identifies the internal responder who is responsible for responding to the questions.
  • Links
  • Read Only: true
    Value that uniquely identifies the original question for the revision for which this is a response.
  • Title: Business Unit
    Maximum Length: 240
    Name of the procurement business unit where the supplier site resides.
  • Default Value: -9999
    Value that uniquely identifies the procurement business unit where the supplier site resides.
  • Title: Question
    Maximum Length: 80
    Name of the question or identifier entered by the user.
  • Value that uniquely identifies the question.
  • Title: Question Revision
    Read Only: true
    Number that identifies the revision of this question. Revision 0 is the base revision.
  • Title: Question Text
    Read Only: true
    Text of the question to be displayed to responders on a questionnaire.
  • Title: Responder Comments
    Maximum Length: 1000
    Comments from the responder when submitting a response to a question on a questionnaire.
  • Title: Responder Type
    Read Only: true
    Maximum Length: 80
    Value that indicates whether the response responder is a supplier or internal responder.
  • Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the whether the question responder should be a supplier, or internal responder A list of accepted values is defined in the lookup type POQ_RESPONDER_TYPE. Review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Standard Lookups task.
  • Title: Response Archive Date
    Read Only: true
    Date and time when the response got archived because a new response was entered in the repository.
  • Title: Response Date
    Date when the response is submitted for a question.
  • Read Only: true
    Value that uniquely identifies the response repository.
  • Title: Response Status
    Read Only: true
    Maximum Length: 80
    Value that identifies the status of the response.
  • Read Only: true
    Maximum Length: 30
    Default Value: PROCESSING
    Abbreviation that identifies the response status. A list of accepted values is defined in the lookup type ORA_POQ_QUESTION_RESP_STATUS. Review the values for this attribute using the Setup and Maintenance work area, and the Manage Standard Lookups task.
  • Title: Supplier
    Maximum Length: 360
    Name of the supplier.
  • Title: Supplier Contact
    Maximum Length: 255
    Name of the supplier contact.
  • Value that uniquely identifies the supplier contact.
  • Value that uniquely identifies the supplier.
  • Title: Supplier Site
    Maximum Length: 240
    Name of the supplier site.
  • Value that uniquely identifies the supplier site.
  • Title: Surrogate Entered By
    Read Only: true
    Maximum Length: 240
    Name of the person who entered a surrogate response.
  • Read Only: true
    Value that uniquely identifies a person who entered a surrogate response.
  • Title: Surrogate Entry Date
    Read Only: true
    Date and time when the qualification manager submitted the surrogate response. The attribute value will be empty for the non-surrogate response.
  • Title: Surrogate Response
    Read Only: true
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then the response is a surrogate response entered by qualification manager on behalf of supplier or a person who is responsible for responding to the questions. If false, then the response is not a surrogate response. The default value is false.
  • Values
    Title: Values
    The Values resource manages the values for the question responses.
Nested Schema : Values
Type: array
Title: Values
The Values resource manages the values for the question responses.
Show Source
Nested Schema : supplierQualificationQuestionResponses-values-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The Attachments resource manages the attachments for the question responses.
Show Source
Nested Schema : supplierQualificationQuestionResponses-values-attachments-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to update a question response.

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/supplierQualificationQuestionResponses/ResponseRepositoryId"

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.

{
	"ResponseDate": "2019-05-16T19:40:56.043+00:00",
	"AcceptanceNote": "Response accepted",
	"AcceptanceDate": "2019-05-16T19:45:56.047+00:00"
}

Example Response Body

The following example includes the contents of the response body in JSON format:

{
	"QuestionId": 300100177080767,
	"Question": "Annual Revenue ",
	"SupplierId": 300100112902930,
	"Supplier": "Tall Manufacturing",
	"SupplierSiteId": null,
	"SupplierSite": null,
	"ResponseDate": "2019-05-16T19:40:56.043+00:00",
	"InternalResponderId": null,
	"InternalResponder": null,
	"SupplierContactId": null,
	"SupplierContact": null,
	"QuestionRevision": 0,
	"ResponderComments": null,
	"AcceptanceNote": "Response accepted",
	"ResponseRepositoryId": 300100177343791,
	"ResponseStatusCode": "ACTIVE",
	"ResponseStatus": "Active",
	"FirstSubmissionDate": "2019-05-14T18:20:59.164+00:00",
	"ResponseArchiveDate": null,
	"AcceptanceDate": "2019-05-16T19:45:56.047+00:00",
	"AcceptedById": 100010026863791,
	"AcceptedBy": "Smith,Cody",
	"DataSourceTypeCode": "REST_API_SERVICE",
	"DataSourceType": "REST service",
	"DataSourceId": null,
	"ResponderTypeCode": "SUPPLIER",
	"ResponderType": "Supplier",
	"OriginalQuestionId": 300100177080767,
	"SurrogateResponseFlag": null,
	"SurrogateEntryDate": null,
	"SurrogateEnteredById": null,
	"SurrogateEnteredBy": null,
	"ProcurementBU": null,
	"ProcurementBUId": null,
	"links": [
	{
		"rel": "self",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791",
		"name": "supplierQualificationQuestionResponses",
		"kind": "item",
		"properties": {
			"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000678"
		}
	},
	{
		"rel": "canonical",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791",
		"name": "supplierQualificationQuestionResponses",
		"kind": "item"
	},
	{
		"rel": "lov",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791/lov/InternalResponders",
		"name": "InternalResponders",
		"kind": "collection"
	},
	{
		"rel": "lov",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791/lov/AcceptedByPersons",
		"name": "AcceptedByPersons",
		"kind": "collection"
	},
	{
		"rel": "lov",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791/lov/SupplierSites",
		"name": "SupplierSites",
		"kind": "collection"
	},
	{
		"rel": "lov",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791/lov/Questions",
		"name": "Questions",
		"kind": "collection"
	},
	{
		"rel": "lov",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791/lov/SupplierContacts",
		"name": "SupplierContacts",
		"kind": "collection"
	},
	{
		"rel": "lov",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791/lov/Suppliers",
		"name": "Suppliers",
		"kind": "collection"
	},
	{
		"rel": "child",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791/child/values",
		"name": "values",
		"kind": "collection"
	},
	{
		"rel": "enclosure",
		"href": "https://servername/fscmRestApi/resources/version/supplierQualificationQuestionResponses/300100177343791/enclosure/QuestionText",
		"name": "QuestionText",
		"kind": "other"
	}
	]
}
Back to Top