### Example Response: Current Instruction Text (HTML)
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_negotiation_clob_text.html
Example response body showing the current instruction text for a supplier negotiation, formatted as HTML. This is the content that can be updated via the PATCH request.
```html
Request For Quote: Laptop Replacement
Purpose: Find the supplier that offers the highest quality and best value laptops.
InFusion generally uses the following criteria in evaluating and comparing Supplier responses(the criteria are not necessarily listed in order of importance):
-Experience and number of years in business
- Financial stability of the Supplier's organization
- Responsiveness to the requirements of the project as set forth in the [@Document Type@]
- Demonstrated understanding of the goals and objectives of the project and a logical plan for providing product/services within the required time frames
- Agreement to Vision Operations standard contract terms
-Competitive Pricing
```
--------------------------------
### Example Response: Supplier Negotiation Instruction Text (JSON)
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_negotiation_clob_text.html
Example response body showing the instruction text in HTML format for the CoverPageText attribute.
```json
Request For Quote: Laptop Replacement
Purpose: Find the supplier that offers the highest quality and best value laptops.
InFusion generally uses the following criteria in evaluating and comparing Supplier responses(the criteria are not necessarily listed in order of importance):
- Experience and number of years in business
-Financial stability of the Supplier's organization
- Responsiveness to the requirements of the project as set forth in the [@Document Type@]
-Demonstrated understanding of the goals and objectives of the project and a logical plan for providing product/services within the required time frames
-Agreement to Vision Operations standard contract terms
-Competitive Pricing
```
--------------------------------
### Example Response Body from Update Requisition
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use-case_update_requisitions.html
Example response returned by the update operation. It shows the updated requisition header and line details, including statuses, preparer info, and line-level fields like quantity and price.
```json
{
"RequisitionHeaderId": 300100546219759,
"Requisition": "10505802",
"RequisitioningBUId": 204,
"RequisitioningBU": "Vision Operations",
"PreparerId": 300100542558856,
"Preparer": "Jill Jack",
"PreparerEmail": "jnj@oracle.com",
"Description": "Requisition for new hire training",
"Justification": null,
"DocumentStatus": "Incomplete",
"DocumentStatusCode": "INCOMPLETE",
"SubmissionDate": null,
"ApprovedDate": null,
"FunctionalCurrencyCode": "USD",
"SoldToLegalEntityId": null,
"SoldToLegalEntity": null,
"FundsStatus": null,
"FundsStatusCode": null,
"InterfaceSourceCode": null,
"InterfaceSourceLineId": null,
"EmergencyPONumber": null,
"ModifyingApproverId": null,
"ModifyingApprover": null,
"ModifyingApproverEmail": null,
"OverridingApproverId": null,
"OverridingApprover": null,
"OverridingApproverEmail": null,
"FundsOverrideApproverId": null,
"FundsOverrideApprover": null,
"FundsOverrideApproverEmail": null,
"ApprovedById": null,
"ApprovedByEmail": null,
"BudgetaryControlEnabledFlag": false,
"EmergencyRequisitionFlag": null,
"ExternallyManagedFlag": false,
"InternalTransferFlag": false,
"FundsChkFailWarnFlag": false,
"CreationDate": "2021-08-18T07:36:56+00:00",
"LastUpdateDate": "2021-08-20T04:53:59+00:00",
"CreatedBy": "jnj@oracle.com",
"LastUpdatedBy": "jnj@oracle.com",
"ActiveRequisitionFlag": false,
"SourceApplicationCode": null,
"RejectedById": null,
"RejectedByDisplayName": null,
"RejectedReason": null,
"lines": [
{
"RequisitionHeaderId": 300100546219759,
"RequisitionLineId": 300100546219760,
"LineNumber": 1,
"SmartFormId": null,
"SmartFormName": null,
"LineTypeId": 1,
"LineTypeCode": "Goods",
"RequisitionLineSource": "REST_INTEGRATION",
"CategoryId": 2917,
"CategoryName": "Monitors",
"ItemDescription": "23 Inch High Definition LCD Monitors",
"ItemId": null,
"Item": null,
"ItemRevision": null,
"Quantity": 8,
"SecondaryQuantity": null,
"UnitPrice": 649,
"CurrencyCode": "USD",
"Currency": "US Dollar",
"UOMCode": "Ea",
"UOM": "Each",
"SecondaryUOMCode": null,
"SecondaryUOM": null,
"ConversionRateType": null,
"ConversionRateDate": null,
"ConversionRate": null,
"Price": 649,
"LineStatus": "INCOMPLETE",
"LineStatusDisplayValue": "Incomplete",
"Amount": null,
"CurrencyAmount": null,
"UrgentFlag": null,
"NegotiatedByPreparerFlag": true,
"NegotiationRequiredFlag": null,
"SourceAgreementTypeCode": null,
"SourceAgreementType": null,
"SourceAgreementHeaderId": null,
"SourceAgreement": null,
"SourceAgreementLineId": null,
"SourceAgreementLineNumber": null,
"UNNumberId": null,
"UNNumber": null,
"HazardClassId": null,
"HazardClass": null,
"HazardClassCode": null,
"UNSPSCCode": null,
"ManufacturerName": "Cordel Electronics",
"ManufacturerPartNumber": null,
"BPAPriceUserOverrideFlag": null,
"NewSupplierFlag": null,
"SupplierId": 1717,
"Supplier": "CV_SuppA05",
"SupplierSiteId": 4060,
"SupplierSite": "CVSuppA05Site01",
"SupplierContactId": null,
"SupplierContact": null,
"SupplierContactEmail": null,
"SupplierContactPhone": null,
"SupplierContactFax": null,
"SuggestedSupplier": null,
"SuggestedSupplierSite": null,
"SuggestedSupplierContact": null,
"SuggestedSupplierContactPhone": null,
"SuggestedSupplierContactFax": null,
"SuggestedSupplierContactEmail": null,
"SupplierItemNumber": null,
"RequesterId": 300100542558856,
"Requester": "Jack, Jill",
"RequesterEmail": "jnj@oracle.com"
}
]
}
```
--------------------------------
### GET purchaseRequisitions with query parameters
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use-case_update_requisitions.html
Use this GET request to identify the RequisitionHeaderId, RequisitionLineId, and RequisitionDistributionId by specifying the requisition number and requisitioning BU name as query parameters. The response returns all lines in the requisition, including the line for LCD monitors and its corresponding distribution.
```http
/fscmRestApi/resources/version/purchaseRequisitions?q=Requisition=Requisition Number;RequisitioningBU=Requisitioning BU Name&onlyData=true&expand=lines.distributions
```
--------------------------------
### Launch Initiative Response JSON
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_initiatives.html
Example response body after launching the initiative. It confirms the initiative number and the counts of suppliers and internal responders who received questionnaires.
```json
{
"result": "Initiative 658 was launched. Questionnaires were sent to the following number of suppliers: 2, and internal responders: 2."
}
```
--------------------------------
### Example Response: Update CLOB Attribute (JSON)
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_negotiation_clob_text.html
Example response body after updating the CLOB attribute, showing negotiation details and enclosure links for CLOB attributes.
```json
{
"AuctionHeaderId": 300100195546657,
...
"NegotiationTitle": "New Laptop Order",
"Negotiation": "39180",
...
"Buyer": "Jones,Cody",
"ProcurementBU": "Vision Operations",
"NegotiationStyle": "Standard Negotiation",
"Outcome": "Blanket Purchase Agreement",
...
"links": [
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100195546657/enclosure/CoverPageText",
"name": "CoverPageText",
"kind": "other"
},
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100195546657/enclosure/GeneralIntroductionText",
"name": "GeneralIntroductionText",
"kind": "other"
},
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100195546657/enclosure/TermsInstructionText",
"name": "TermsInstructionText",
"kind": "other"
},
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100195546657/enclosure/RequirementInstructionText",
"name": "RequirementInstructionText",
"kind": "other"
},
{
"rel": "enclosure",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100195546657/enclosure/LinesInstructionText",
"name": "LinesInstructionText",
"kind": "other"
}
]
}
```
--------------------------------
### Get Public Shopping Lists Response
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_public_shopping_list_headers.html
Example JSON response body showing public shopping list headers matching the search criteria.
```json
{
"items": [
{
"PublicShoppingListHeaderId": 300100558177147,
"PublicShoppingList": "Pediatric Emergency Supplies",
"ProcurementBUId": 204,
"ProcurementBU": "Vision Operations",
"PublicShoppingListDescription": "Pediatric emergency supplies list includes: \n- Arm boards: infant, child\n- IV needles: 24 gauge and up\n- Intraosseous needles- infant, pediatric, adult IV administration sets with calibrated chambers and extension tubing and/or infusion devices, etc.",
"PublicShoppingListEndDate": null,
"PublicShoppingListStartDate": "2022-07-19",
"CreatedBy": "CVRQST17",
"CreationDate": "2022-07-19T21:07:26+00:00",
"LastUpdateDate": "2022-07-19T21:12:07.626+00:00",
"LastUpdatedBy": "CVRQST17",
"links": [
{
"rel": "self",
"href": "https://server/fscmRestApi/resources/version/publicShoppingLists/300100558177147",
"name": "publicShoppingLists",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://server/fscmRestApi/resources/version/publicShoppingLists/300100558177147",
"name": "publicShoppingLists",
"kind": "item"
}
]
},
{
"PublicShoppingListHeaderId": 300100558177157,
"PublicShoppingList": "Pediatric Office Supplies",
"ProcurementBUId": 204,
"ProcurementBU": "Vision Operations",
"PublicShoppingListDescription": "General office supplies for the pediatric department.",
"PublicShoppingListEndDate": null,
"PublicShoppingListStartDate": "2022-07-19",
"CreatedBy": "CVRQST17",
"CreationDate": "2022-07-19T21:18:01.602+00:00"
```
--------------------------------
### Update Response Header and Lines - Example URL
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use-case_create_a_negotiation_response.html
Resource URL format for the PATCH standard action. The URL is shown as POST, but the actual operation is PATCH.
```http
POST
```
--------------------------------
### Create a Surrogate Response Response
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use-case_create_a_negotiation_response.html
Example response body returning the ID of the created surrogate response.
```json
{
"Response": "188759"
}
```
--------------------------------
### Create a Surrogate Response Request
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use-case_create_a_negotiation_response.html
Example request body to create a surrogate response on behalf of a supplier.
```json
{ "AuctionHeaderId":"300100546799787",
"Negotiation": "40124",
"ProcurementBU":"Vision Scotland",
"ProcurementBUId":"15567",
"Buyer": "Kinley, Adam",
"BuyerId": "66152",
"Supplier": "Techno Enterprises",
"SupplierId":"12737",
"SupplierContact":"Mckinsenly, Peter",
"SupplierContactId":"292354",
"SupplierSite":"Edinburg",
"SupplierSiteId": "5058"
}
```
--------------------------------
### Example Request: Update CLOB Attribute (JSON)
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_negotiation_clob_text.html
Example request body for updating the CoverPageText attribute. The value is Base64-encoded HTML.
```json
{
"CoverPageText":"PGRpdj48cCBhbGlnbj0iY2VudGVyIj48Yj48dT5JbkZ1c2lvbjwvdT48L2I+PGJyPjwvcD48L2Rpdj48cCBhbGlnbj0iY2VudGVyIj48Zm9udCBjb2xvcj0iIzAwMDBGRiI+PGI+UmVxdWVzdCBGb3IgUXVvdGU8L2I+OiZuYnNwOyBMYXB0b3AgIFJlcGxhY2VtZW50PC9mb250Pjxicj48L3A+PGJyPlB1cnBvc2U6IEZpbmQgdGhlIHN1cHBsaWVyIHRoYXQgb2ZmZXJzIHRoZSBoaWdoZXN0IHF1YWxpdHkgYW5kIGJlc3QgdmFsdWUgbGFwdG9wcy48YnI+PGJyPjxkaXY+SW5GdXNpb24gZ2VuZXJhbGx5IHVzZXMgdGhlIGZvbGxvd2luZyBjcml0ZXJpYSBpbiAgZXZhbHVhdGluZyBhbmQgY29tcGFyaW5nIFN1cHBsaWVyIHJlc3BvbnNlcyh0aGUgY3JpdGVyaWEgYXJlIG5vdCBuZWNlc3NhcmlseSAgbGlzdGVkIGluIG9yZGVyIG9mIGltcG9ydGFuY2UpOjwvZGl2Pjxicj4tJm5ic3A7IEV4cGVyaWVuY2UgYW5kIG51bWJlciBvZiB5ZWFycyBpbiBidXNpbmVzcyA8YnI+LSZuYnNwOyBGaW5hbmNpYWwgc3RhYmlsaXR5IG9mIHRoZSBTdXBwbGllcidzIG9yZ2FuaXphdGlvbjxicj48YnI+PGJyPg=="
}
```
--------------------------------
### Example Response Body for Updating a Question Response
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_qualification_question_responses.html
This JSON response confirms the updated attributes for the specified supplier qualification question response.
```json
{
"Question": "Annual Revenue",
"Supplier": "Chile Foods",
"ResponseDate": "2019-05-13T18:52:15.458+00:00",
"ResponseRepositoryId": 300100177300846,
"ResponseStatus": "Active",
"FirstSubmissionDate": "2019-05-13T18:51:34.439+00:00",
"ResponseArchiveDate": null,
"AcceptanceDate": "2019-05-13T18:52:16.500+00:00",
"AcceptedBy": "Smith,Cody",
"DataSourceType": "REST service",
"ResponderType": "Supplier",
"OriginalQuestionId": 300100177080767,
...
}
```
--------------------------------
### Create a Question Response Response Body
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_qualification_question_responses.html
Example JSON response received after submitting a question response, showing the status as Processing.
```json
{
"Question": "Annual Revenue",
"Supplier": "Chile Foods",
"ResponseDate": "2019-05-14T18:20:59.164+00:00",
"ResponseRepositoryId": 300100177300850,
"ResponseStatus": "Processing",
"FirstSubmissionDate": "2019-05-14T18:20:59.164+00:00",
"ResponseArchiveDate": null,
"AcceptanceDate": "2019-05-14T18:20:59.165+00:00",
"AcceptedBy": "Smith,Cody",
"ResponderType": "Supplier",
"values": [{
"ResponseRepositoryValueId": 300100177300851,
"ResponseRepositoryId": 300100177300850,
"ResponseValueText": "12M",
...
}]
}
```
--------------------------------
### Submit a Draft Response Response
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use-case_create_a_negotiation_response.html
Example response body confirming the submission status change from Draft to Active.
```json
{
"result": {
"Response": "188755",
"ResponseStatus": "Active",
"Negotiation": "40124",
"NegotiationTitle": "Laptop Procurement FY23",
"ProcurementBU": "Vision Operations",
"Message": "Response submitted successfully"
}
}
```
--------------------------------
### Submit a Draft Response Request
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use-case_create_a_negotiation_response.html
Example request body to submit a draft response using the Submit user-defined action.
```json
{
"parameters": {
"Response": "188755",
"ResponseAction": "Submit"
}
}
```
--------------------------------
### Public Shopping List request body
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_public_shopping_list_headers.html
Example JSON request body for creating a new public shopping list header.
```json
{
"ProcurementBU": "Vision Operations",
"PublicShoppingList": "Pediatric Equipment",
"PublicShoppingListDescription": "Pediatric equipment to care for small-sized patients including pediatric scales, tabletop scales, pediatric stretchers, exam room cabinets, pediatric exam tables.",
"PublicShoppingListEndDate": null,
"PublicShoppingListStartDate": "2022-08-01"
}
```
--------------------------------
### GET Purchase Orders Request URL
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_get_purchase_orders_based_on_the_data_security.html
The cURL command format to retrieve purchase orders using the findByIntent finder.
```bash
curl -u username:password -X GET -H "Content-Type:text/xml" -d 'request payload'
https://servername/fscmRestApi/resources/version/purchaseOrders?finder=findByIntent;Intent=POUser"
```
--------------------------------
### Create a Question Response Request Body
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_qualification_question_responses.html
Example JSON payload for creating a question response, specifying the question, supplier, acceptor, and response value.
```json
{
"Question": "Annual Revenue",
"Supplier": "Chile Foods",
"AcceptedBy": "Smith,Cody",
"values" :
[ {
"ResponseValueText": "12M"
} ]
}
```
--------------------------------
### Example response body for GET publicShoppingLists
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/op-publicshoppinglists-get.html
Example response body for a GET request on publicShoppingLists. Shows one item with fields like PublicShoppingListHeaderId, ProcurementBU, and links.
```json
{
"items": [
{
"PublicShoppingListHeaderId": 300100559285633,
"PublicShoppingList": "Pediatric Services",
"ProcurementBUId": 458,
"ProcurementBU": "Vision Services",
"PublicShoppingListDescription": "Speech-Language Therapy, Occupational Therapy, Physical Therapy, Child Development Services.\n",
"PublicShoppingListEndDate": null,
"PublicShoppingListStartDate": "2022-07-20",
"CreatedBy": "CVRQST17",
"CreationDate": "2022-07-20T21:00:43+00:00",
"LastUpdateDate": "2022-07-20T21:01:52.113+00:00",
"LastUpdatedBy": "CVRQST17",
"links": [
{
"rel": "self",
"href": "https://server/fscmRestApi/resources/version/publicShoppingLists/300100559285633",
"name": "publicShoppingLists",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://server/fscmRestApi/resources/version/publicShoppingLists/300100559285633",
"name": "publicShoppingLists",
"kind": "item"
}
]
}
],
"count": 1,
"hasMore": false,
"limit": 25,
"offset": 0,
"links": [
{
"rel": "self",
"href": "https://server/fscmRestApi/resources/version/publicShoppingLists",
"name": "publicShoppingLists",
"kind": "collection"
}
]
}
```
--------------------------------
### Initialize Flutter app with flutter create
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/api-external-purchase-prices-bu-mappings.html
Use the `flutter create` command to initialize a new Flutter app named `supabase_quickstart`.
```bash
flutter create supabase_quickstart
```
--------------------------------
### GET fscmRestApi/resources/version/purchaseRequisitions/{purchaseRequisitionsUniqID}
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_requisitions_by_users.html
Retrieves a specific purchase requisition by its unique identifier. This allows users to view the requisition details before submission.
```APIDOC
## GET fscmRestApi/resources/version/purchaseRequisitions/{purchaseRequisitionsUniqID}
### Description
Retrieves a specific purchase requisition by its unique identifier. This allows users to view the requisition details before submission.
### Method
GET
### Endpoint
fscmRestApi/resources/version/purchaseRequisitions/{purchaseRequisitionsUniqID}
### Parameters
#### Path Parameters
- **purchaseRequisitionsUniqID** (string) - Required - The unique identifier of the purchase requisition.
### Response
#### Success Response (200)
No response body details provided in the source.
```
--------------------------------
### Example Resource Response with ETag
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/verify-your-resource-using-the-etag-value.html
This response body includes the ETag value within the headers object, which can be used for subsequent conditional requests.
```json
200 OK
{
"DisplayName": "Erin D Mack",
"@context": {
"key": "180511",
"headers": {
"ETag": "FCED00057372000000014770400000014737A76612E6C616E672E4"
},
"links": [
{
"rel": "self",
"href": "https://:/hcmRestApi/resources/11.13.18.05/workers/00020000000EACED0005/ ",
"name": "names",
"kind": "item",
"properties": {
}
}
]
}
```
--------------------------------
### Query Question Response Status Response Body
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_supplier_qualification_question_responses.html
Example JSON response showing the status of question responses, where the latest is Active and the previous is Archived.
```json
{
"items": [{
"Question": "Annual Revenue",
"Supplier": "Chile Foods",
"ResponseDate": "2019-05-14T18:20:59.164+00:00",
"ResponseRepositoryId": 300100177343791,
"ResponseStatus": "Active",
"FirstSubmissionDate": "2019-05-14T18:20:59.164+00:00",
"ResponseArchiveDate": null,
"AcceptanceDate": "2019-05-14T18:20:59.165+00:00",
"AcceptedBy": "Smith,Cody",
"DataSourceType": "REST service",
"ResponderType": "Supplier",
"OriginalQuestionId": 300100177080767,
...
}, {
"Question": "Annual Revenue ",
"Supplier": "Chile Foods",
"ResponseDate": "2019-05-14T06:31:19.937+00:00",
"ResponseRepositoryId": 300100177329411,
"ResponseStatus": "Archived",
"FirstSubmissionDate": "2019-05-14T06:27:11.112+00:00",
"ResponseArchiveDate": "2019-05-14T18:21:09+00:00",
"AcceptanceDate": "2019-05-14T06:31:19.938+00:00",
"AcceptedBy": "Smith,Cody",
"DataSourceType": "REST service",
"ResponderType": "Supplier",
"OriginalQuestionId": 300100177080767,
...
}
}
```
--------------------------------
### Example response body for get smart form assignment
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/op-contentzones-contentzonesuniqid-child-smartformassignments-smartformassignmentid-get.html
Example JSON response body returned by the GET request, showing the smart form assignment details.
```json
{
"SmartFormAssignmentId": 300100585271661,
"ContentZoneId": 300100585274636,
"SmartFormId": 300100585218689,
"SmartForm": "Accessories and Peripherals",
"CreationDate": "2023-11-01T17:07:17.095+00:00",
"CreatedBy": "CVBUYER01",
"LastUpdatedBy": "CVBUYER01",
"LastUpdatedDate": "2023-11-01T17:07:17.095+00:00",
"links": [
. . .
]
}
```
--------------------------------
### GET /fscmRestApi/resources/version/purchaseRequisitions/{purchaseRequisitionsUniqID}
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/use_case_manage_requisitions_by_users_with_project_information.html
Retrieves a specific requisition by its unique identifier. This is used to view requisition details, including project information if present.
```APIDOC
## GET /fscmRestApi/resources/version/purchaseRequisitions/{purchaseRequisitionsUniqID}
### Description
Retrieves a specific requisition by its unique identifier. This is used to view requisition details, including project information if present.
### Method
GET
### Endpoint
/fscmRestApi/resources/version/purchaseRequisitions/{purchaseRequisitionsUniqID}
### Parameters
#### Path Parameters
- **purchaseRequisitionsUniqID** (string) - Required - Unique identifier of the purchase requisition.
### Request Example
No request body is required for this GET request.
### Response
#### Success Response (200)
The response contains the requisition details. If the requisition contains project information, only the currently active Project Information fields (segments) will be returned.
### Notes
- The PreparerId of the requisition must match the personId of the person making the REST API call. This means you can only view requisitions that you own.
- Unlike with the web application, having the View Requisitions - All privilege, POR_VIEW_REQUISITIONS_ALL, will not allow you to view requisitions created by other people when you make the call to retrieve the requisition via REST API.
- The person making the call must have access to the requisitioning business unit in which the requisition was created.
- If the requisition contains project information, only the currently active Project Information fields (segments) will be returned. Inactive segments will not be returned even if the segment had a value before it was made inactive.
```
--------------------------------
### Setup cgroup freezer
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/api-draft-purchase-agreements-purchase-agreement-lines-item-attributes.html
Commands to create and mount the freezer cgroup, create a sub-cgroup, and add a process to it.
```shell
# mkdir /sys/fs/cgroup/freezer
# mount -t cgroup -ofreezer freezer /sys/fs/cgroup/freezer
# mkdir /sys/fs/cgroup/freezer/0
# echo $some_pid > /sys/fs/cgroup/freezer/0/tasks
```
--------------------------------
### Example Response Body for Get All Abstracts
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/op-suppliernegotiations-suppliernegotiationsuniqid-child-abstracts-get.html
Example JSON response body returned by the GET request. Shows an item with abstract details such as 'AbstractStatus', 'PostingMethod', and links to related resources.
```json
{
"items": [
{
"AwardNoticePublishDate": null,
"AwardNoticePublishFlag": false,
"PostingDate": "2021-03-15T17:22:10+00:00",
"IncludeNegotiationPDFFlag": false,
"IncludeNegotiationAttachmentsToSupplierFlag": true,
"ResponseTabulationPublishDate": null,
"ResponseTabulationPublishFlag": false,
"AbstractStatus": "Posted",
"PostingMethod": "Manual",
"AwardNoticeText": null,
"CreationDate": "2021-03-15T17:07:33.181+00:00",
"CreatedBy": "BUYER01",
"LastUpdateDate": "2021-03-15T17:22:10.058+00:00",
"LastUpdatedBy": "BUYER01",
"PostedBy": "Furey,Clare",
"PostAutomaticallyFlag": false,
"AutomaticPostingEvent": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100541606569/child/abstracts/300100541606569",
"name": "abstracts",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100541606569/child/abstracts/300100541606569",
"name": "abstracts",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100541606569",
"name": "supplierNegotiations",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100541606569/child/abstracts/300100541606569/child/DFF",
"name": "DFF",
"kind": "collection"
}
]
}
],
"count": 1,
"hasMore": false,
"limit": 10,
"offset": 0,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100541606569/child/abstracts",
"name": "abstracts",
"kind": "collection"
}
]
}
```
--------------------------------
### Example response body for get compliance checklist
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/op-compliancechecklists-compliancechecklistsuniqid-get.html
Example JSON response body returned when getting a compliance checklist, including fields like ChecklistInitiativeId, Checklist, Status, and links.
```json
{
"ChecklistInitiativeId": 300100583348975,
"Checklist": "Checklist-99",
"Title": "Direct Materials - Oct 2023",
"StatusCode": "ORA_COMPLETED",
"Status": "Completed",
"ProcurementBUId": 204,
"ProcurementBU": "Vision Operations",
"ChecklistOwnerId": 100010026863783,
"ChecklistOwner": "Furey,Clare",
"ChecklistTemplateId": 300100583350637,
"ChecklistTemplate": "Direct Materials",
"ChecklistTemplateRevision": 1,
"ReopenDate": "2023-10-17T01:04:31.201+00:00",
"ReopenedById": 100010026863783,
"ReopenedBy": "Furey,Clare",
"ReopenReason": "test",
"CompletionDate": "2023-10-17T01:07:25.808+00:00",
"CompletedById": 100010026863783,
"CompletedBy": "Furey,Clare",
"CancellationDate": null,
"CanceledById": null,
"CanceledBy": null,
"CanceledReason": null,
"CreationDate": "2023-10-16T22:44:58+00:00",
"POHeaderId": null,
"PONumber": null,
"POStatus": null,
"PurchasingDocumentType": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/complianceChecklists/300100583348975",
"name": "complianceChecklists",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000878"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/complianceChecklists/300100583348975",
"name": "complianceChecklists",
"kind": "item"
}
]
}
```
--------------------------------
### GET /complianceChecklists/complianceChecklistsUniqID
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/op-compliancechecklists-compliancechecklistsuniqid-get.html
This example describes how to get one compliance checklist using a GET request to the complianceChecklists resource with a unique identifier.
```APIDOC
## GET /complianceChecklists/complianceChecklistsUniqID
### Description
Retrieves a single compliance checklist resource by its unique identifier.
### Method
GET
### Endpoint
`https://servername/fscmRestApi/resources/version/complianceChecklists/complianceChecklistsUniqID`
### Parameters
#### Path Parameters
- **complianceChecklistsUniqID** (string) - Required - The unique identifier of the compliance checklist.
### Request Example
```
curl -u username:password "https://servername/fscmRestApi/resources/version/complianceChecklists/complianceChecklistsUniqID"
```
### Response
#### Success Response (200)
- **ChecklistInitiativeId** (integer) - The unique identifier of the checklist initiative.
- **Checklist** (string) - The checklist name.
- **Title** (string) - The title of the checklist.
- **StatusCode** (string) - The status code of the checklist.
- **Status** (string) - The status of the checklist.
- **ProcurementBUId** (integer) - The identifier of the procurement business unit.
- **ProcurementBU** (string) - The name of the procurement business unit.
- **ChecklistOwnerId** (integer) - The identifier of the checklist owner.
- **ChecklistOwner** (string) - The name of the checklist owner.
- **ChecklistTemplateId** (integer) - The identifier of the checklist template.
- **ChecklistTemplate** (string) - The name of the checklist template.
- **ChecklistTemplateRevision** (integer) - The revision number of the checklist template.
- **ReopenDate** (string) - The date the checklist was reopened.
- **ReopenedById** (integer) - The identifier of the user who reopened the checklist.
- **ReopenedBy** (string) - The name of the user who reopened the checklist.
- **ReopenReason** (string) - The reason for reopening the checklist.
- **CompletionDate** (string) - The date the checklist was completed.
- **CompletedById** (integer) - The identifier of the user who completed the checklist.
- **CompletedBy** (string) - The name of the user who completed the checklist.
- **CancellationDate** (string) - The date the checklist was cancelled.
- **CanceledById** (integer) - The identifier of the user who cancelled the checklist.
- **CanceledBy** (string) - The name of the user who cancelled the checklist.
- **CanceledReason** (string) - The reason for cancelling the checklist.
- **CreationDate** (string) - The date the checklist was created.
- **POHeaderId** (integer) - The identifier of the purchase order header.
- **PONumber** (string) - The purchase order number.
- **POStatus** (string) - The status of the purchase order.
- **PurchasingDocumentType** (string) - The type of purchasing document.
- **links** (array) - An array of link objects.
#### Response Example
```json
{
"ChecklistInitiativeId": 300100583348975,
"Checklist": "Checklist-99",
"Title": "Direct Materials - Oct 2023",
"StatusCode": "ORA_COMPLETED",
"Status": "Completed",
"ProcurementBUId": 204,
"ProcurementBU": "Vision Operations",
"ChecklistOwnerId": 100010026863783,
"ChecklistOwner": "Furey,Clare",
"ChecklistTemplateId": 300100583350637,
"ChecklistTemplate": "Direct Materials",
"ChecklistTemplateRevision": 1,
"ReopenDate": "2023-10-17T01:04:31.201+00:00",
"ReopenedById": 100010026863783,
"ReopenedBy": "Furey,Clare",
"ReopenReason": "test",
"CompletionDate": "2023-10-17T01:07:25.808+00:00",
"CompletedById": 100010026863783,
"CompletedBy": "Furey,Clare",
"CancellationDate": null,
"CanceledById": null,
"CanceledBy": null,
"CanceledReason": null,
"CreationDate": "2023-10-16T22:44:58+00:00",
"POHeaderId": null,
"PONumber": null,
"POStatus": null,
"PurchasingDocumentType": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/complianceChecklists/300100583348975",
"name": "complianceChecklists",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000878"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/complianceChecklists/300100583348975",
"name": "complianceChecklists",
"kind": "item"
}
]
}
```
```
--------------------------------
### POST /sourcingPrograms/{sourcingProgramId}/launch
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/api-sourcing-programs.html
Launches a specific sourcing program, initiating its execution.
```APIDOC
## POST /sourcingPrograms/{sourcingProgramId}/launch
### Description
Launches one sourcing program.
### Method
POST
### Endpoint
/sourcingPrograms/{sourcingProgramId}/launch
### Parameters
#### Path Parameters
- **sourcingProgramId** (string) - Required - The unique identifier of the sourcing program to launch.
### Response
#### Success Response (200)
Returns the launch status or result.
```
--------------------------------
### GET /fscmRestApi/resources/11.13.18.05/purchaseAgreements/{purchaseAgreementsUniqID}/child/lines
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/op-purchaseagreements-purchaseagreementsuniqid-get.html
Details of the goods or services to be purchased from the supplier. The line doesn't contain delivery dates or individual delivery quantities or amounts. For example, an agreement line can be service-based for installing a television or a goods item to negotiate the price for 50 laptops.
```APIDOC
## GET /fscmRestApi/resources/11.13.18.05/purchaseAgreements/{purchaseAgreementsUniqID}/child/lines
### Description
Details of the goods or services to be purchased from the supplier. The line doesn't contain delivery dates or individual delivery quantities or amounts. For example, an agreement line can be service-based for installing a television or a goods item to negotiate the price for 50 laptops.
### Method
GET
### Endpoint
/fscmRestApi/resources/11.13.18.05/purchaseAgreements/{purchaseAgreementsUniqID}/child/lines
### Parameters
#### Path Parameters
- **purchaseAgreementsUniqID** (string) - Required - The unique identifier of the purchase agreement.
```
--------------------------------
### POST /fscmRestApi/resources/11.13.18.05/supplierInitiatives/{supplierInitiativesUniqID}/action/launch
Source: https://docs.oracle.com/en/cloud/saas/procurement/26c/fapra/api-supplier-initiatives.html
Launches a supplier initiative. This action starts the initiative for supplier participation.
```APIDOC
## POST /fscmRestApi/resources/11.13.18.05/supplierInitiatives/{supplierInitiativesUniqID}/action/launch
### Description
Launches a supplier initiative.
### Method
POST
### Endpoint
/fscmRestApi/resources/11.13.18.05/supplierInitiatives/{supplierInitiativesUniqID}/action/launch
### Parameters
#### Path Parameters
- **supplierInitiativesUniqID** (string) - Required - The unique identifier of the initiative.
#### Request Body
- No request body parameters are documented.
### Response
#### Success Response (200)
- No response fields are documented.
```