Add Negotiation Sections, Requirements, and Acceptable Response Values in a Draft Negotiation

You can use the Supplier Negotiations REST resource to add sections, requirements, and acceptable response values in a draft negotiation. You can perform bulk upload or update by using the batch method. By using batch processing, you can POST and PATCH multiple sections, requirements, and acceptable response values in a single payload.

Some features, such as creating or updating branched requirements, equalizing section scores, are currently not supported.

Here's a typical application processing flow for the scenarios:

  1. You add a section with requirements and acceptable response values.
  2. You query the section and its requirement.
  3. You update the section and its requirement.

Add Sections, Requirements, and Acceptable Response Values

In this scenario, you add two sections, each with two requirements and their acceptable values, to a draft negotiation.

Example URL

Use this resource URL format.

POST

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.batch+json" -d 'request payload' 
https://servername/fscmRestApi/resources

Example Request

Here's an example of the request body in JSON format.

{    
    "parts" : [
    {
      "id" : "part1",
      "path" : "/version/supplierNegotiations/300100551449109/child/sections",
      "operation" : "create",
      "payload" : {
        "Section": "Company Profile",
        "EvaluationStage": "Commercial",
        "ScoringTeam": null,
        "requirements":[
         {
            "Requirement": "Experience",
            "RequirementText":"How many years experience does your company have in providing products and services equivalent or related to those called for in this RFP?",
            "Hint": "Please include any supporting documents",
            "Level": "Supplier",
            "ResponseType": "Required",
            "RequirementType": "Multiple choice with single selection",
            "ValueType": "Single line text",
            "AttachmentsFromSuppliers": null,
            "AllowCommentsFromSuppliersFlag": false,
            "ScoringMethod": "Automatic",
            "acceptableResponseScoreValues":[
                  {
                 "TextValue": "0 to 5 years",
                 "Score": 1
            },
             {
                 "TextValue": "5 to 10 years",
                 "Score": 2
            },
             {
                 "TextValue": "Over 10 years",
                 "Score": 3
            }
            ]
         },

         {
            "Requirement": "Code of Conduct",
            "RequirementText":"Do you agree to the attached supplier Code of Conduct Agreement?  Please attach your consent.",
            "Hint": "A copy of the agreement has been attached for your reference. Please scan in a signed version in support of your response.",
            "Level": "Supplier",
            "ResponseType": "Required",
            "RequirementType": "Multiple choice with single selection",
            "ValueType": "Single line text",
            "AttachmentsFromSuppliers": null,
            "AllowCommentsFromSuppliersFlag": false,
            "ScoringMethod": "None",
            "acceptableResponseScoreValues":[
                  {
                 "TextValue": "Yes",
                  "AttachmentsFromSuppliers": "Required"
                 
            },
             {
                 "TextValue": "No",
                 "AttachmentsFromSuppliers": "Optional"
                 
            },
             {
                 "TextValue": "Not Sure"
                 
            }
          ]
       }
    ]
 }
    
    },
    {
     "id" : "part2",
      "path" : "/version/supplierNegotiations/300100551449109/child/sections",
      "operation" : "create",
      "payload" : {
        "Section": "General Capabilities",
        "EvaluationStage": "Technical",
        "ScoringTeam": null,
         "requirements":[
         {
            "Requirement": "Technology",
            "RequirementText":"Describe your company's use of technology in the delivery of your goods or service.  List any ways that your use of technology differentiates you from your competition.",
            "Level": "Supplier",
            "ResponseType": "Required",
            "RequirementType": "Text entry box",
            "ValueType": "Multiple line text",
            "AttachmentsFromSuppliers": null,
            "AllowCommentsFromSuppliersFlag": false,
            "ScoringMethod": "Manual"
            
         },

          {
            "Requirement": "Customer Development",
            "RequirementText":"Do you have a formal customer development program to help customers improve their business and foster a collaborative relationship?",
            "Level": "Supplier",
            "ResponseType": "Optional",
            "RequirementType": "Multiple choice with single selection",
            "ValueType": "Single line text",
            "AttachmentsFromSuppliers": null,
            "ScoringMethod": "Automatic",
            "acceptableResponseScoreValues":[
                  {
                 "TextValue": "Yes",
                  "Score": 5,
                  "AttachmentsFromSuppliers": "Required"
                 
            },
             {
                 "TextValue": "No",
                  "Score": 1,
                 "AttachmentsFromSuppliers": "Optional"
                 
            },
             {
                 "TextValue": "In future roadmap",
                  "Score": 2    
            }
           ]
        }
    ]
                }
           }
  ]    
}

Example Response

Here's an example of the response body in JSON format.

{
    "parts": [
        {
            "id": "part1",
            "path": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections",
            "operation": "create",
            "payload": {
                "SectionId": 300100551434634,
                "SectionDisplayNumber": "1.",
                "Section": "Company Profile",
                "EvaluationStageCode": "COMMERCIAL",
                "EvaluationStage": "Commercial",
                "ScoringTeamId": null,
                "ScoringTeam": null,
                ...
                "requirements": {
                    "items": [
                        {
                            "RequirementId": 300100551434635,
                            "ScoreId": -1,
                            "ParentType": "SECTION",
                            "RequirementLevel": 1,
                            "RequirementNumber": "1.",
                            "QuestionId": null,
                            "QuestionRevisionNumber": null,
                            "Requirement": "Experience",
                            "Hint": "Please include any supporting documents",
                            "LevelCode": "SUPPLIER",
                            "Level": "Supplier",
                            "ResponseTypeCode": "REQUIRED",
                            "ResponseType": "Required",
                            "RequirementTypeCode": "MCSS",
                            "RequirementType": "Multiple choice with single selection",
                            "ValueTypeCode": "SINGLE_LINE_TEXT",
                            "ValueType": "Single line text",
                            "TargetTextValue": null,
                            "TargetNumberValue": null,
                            "TargetDateValue": null,
                            "TargetDateTimeValue": null,
                            "DisplayTargetFlag": false,
                            "AttachmentsFromSuppliersCode": null,
                            "AttachmentsFromSuppliers": null,
                            "AllowCommentsFromSuppliersFlag": false,
                            "ScoringMethodCode": "AUTOMATIC",
                            "ScoringMethod": "Automatic",
                            "Weight": null,
                            "MaximumScore": null,
                            "KnockoutScore": null,
                            ...
                            "acceptableResponseScoreValues": {
                                "items": [
                                    {
                                        "RequirementId": 300100551434635,
                                        "ScoreId": 300100551434636,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "a.",
                                        "TextValue": "0 to 5 years",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "NOT_ALLOWED",
                                        "AttachmentsFromSuppliers": "Not allowed",
                                        "Score": 1,
                                            ...
                                            },
                                            "links": [
                                                {
                                            ...
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "RequirementId": 300100551434635,
                                        "ScoreId": 300100551434637,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "b.",
                                        "TextValue": "5 to 10 years",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "NOT_ALLOWED",
                                        "AttachmentsFromSuppliers": "Not allowed",
                                        "Score": 2,
                                        ...
                                                {
                                                    "rel": "parent",
                                                    "href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634/child/requirements/300100551434635",
                                                    "name": "requirements",
                                                    "kind": "item"
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "RequirementId": 300100551434635,
                                        "ScoreId": 300100551434638,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "c.",
                                        "TextValue": "Over 10 years",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "NOT_ALLOWED",
                                        "AttachmentsFromSuppliers": "Not allowed",
                                        "Score": 3,
                                        ...
                                            "links": [
                                                {
                                        ...
                                                }
                                            ]
                                        }
                                    }
                                ],
                                ...
                                    {
                                        "rel": "enclosure",
                                        "href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634/child/requirements/300100551434635/enclosure/RequirementText",
                                        "name": "RequirementText",
                                        "kind": "other"
                                    }
                                ]
                            }
                        },
                        {
                            "RequirementId": 300100551434639,
                            "ScoreId": -1,
                            "ParentType": "SECTION",
                            "RequirementLevel": 1,
                            "RequirementNumber": "2.",
                            "QuestionId": null,
                            "QuestionRevisionNumber": null,
                            "Requirement": "Code of Conduct",
                            "Hint": "A copy of the agreement has been attached for your reference. Please scan in a signed version in support of your response.",
                            "LevelCode": "SUPPLIER",
                            "Level": "Supplier",
                            "ResponseTypeCode": "REQUIRED",
                            "ResponseType": "Required",
                            "RequirementTypeCode": "MCSS",
                            "RequirementType": "Multiple choice with single selection",
                            "ValueTypeCode": "SINGLE_LINE_TEXT",
                            "ValueType": "Single line text",
                            "TargetTextValue": null,
                            "TargetNumberValue": null,
                            "TargetDateValue": null,
                            "TargetDateTimeValue": null,
                            "DisplayTargetFlag": false,
                            "AttachmentsFromSuppliersCode": null,
                            "AttachmentsFromSuppliers": null,
                            "AllowCommentsFromSuppliersFlag": false,
                            "ScoringMethodCode": "NONE",
                            "ScoringMethod": "None",
                            "Weight": null,
                            "MaximumScore": null,
                            "KnockoutScore": null,
                            ...
                            "acceptableResponseScoreValues": {
                                "items": [
                                    {
                                        "RequirementId": 300100551434639,
                                        "ScoreId": 300100551434640,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "a.",
                                        "TextValue": "Yes",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "REQUIRED",
                                        "AttachmentsFromSuppliers": "Required",
                                        "Score": null,
                                        ... 
                                                {
                                                    "rel": "parent",
                                                    "href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634/child/requirements/300100551434639",
                                                    "name": "requirements",
                                                    "kind": "item"
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "RequirementId": 300100551434639,
                                        "ScoreId": 300100551434641,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "b.",
                                        "TextValue": "No",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "OPTIONAL",
                                        "AttachmentsFromSuppliers": "Optional",
                                        "Score": null,
                                        ...
                                                {
                                                    "rel": "parent",
                                                    "href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634/child/requirements/300100551434639",
                                                    "name": "requirements",
                                                    "kind": "item"
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "RequirementId": 300100551434639,
                                        "ScoreId": 300100551434642,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "c.",
                                        "TextValue": "Not Sure",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "NOT_ALLOWED",
                                        "AttachmentsFromSuppliers": "Not allowed",
                                        "Score": null,
                                         ...
                                                {
                                                    "rel": "parent",
                                                    "href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634/child/requirements/300100551434639",
                                                    "name": "requirements",
                                                    "kind": "item"
                                           ...
                    ]
                }
            }
        },
        {
            "id": "part2",
            "path": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections",
            "operation": "create",
            "payload": {
                "SectionId": 300100551434643,
                "SectionDisplayNumber": "2.",
                "Section": "General Capabilities",
                "EvaluationStageCode": "TECHNICAL",
                "EvaluationStage": "Technical",
                "ScoringTeamId": null,
                "ScoringTeam": null,
                ...
                "requirements": {
                    "items": [
                        {
                            "RequirementId": 300100551434644,
                            "ScoreId": -1,
                            "ParentType": "SECTION",
                            "RequirementLevel": 1,
                            "RequirementNumber": "1.",
                            "QuestionId": null,
                            "QuestionRevisionNumber": null,
                            "Requirement": "Technology",
                            "Hint": null,
                            "LevelCode": "SUPPLIER",
                            "Level": "Supplier",
                            "ResponseTypeCode": "REQUIRED",
                            "ResponseType": "Required",
                            "RequirementTypeCode": "INPUT_BOX",
                            "RequirementType": "Text entry box",
                            "ValueTypeCode": "MULTIPLE_LINE_TEXT",
                            "ValueType": "Multiple line text",
                            "TargetTextValue": null,
                            "TargetNumberValue": null,
                            "TargetDateValue": null,
                            "TargetDateTimeValue": null,
                            "DisplayTargetFlag": false,
                            "AttachmentsFromSuppliersCode": "NOT_ALLOWED",
                            "AttachmentsFromSuppliers": "Not allowed",
                            "AllowCommentsFromSuppliersFlag": false,
                            "ScoringMethodCode": "MANUAL",
                            "ScoringMethod": "Manual",
                            "Weight": null,
                            "MaximumScore": 5,
                            "KnockoutScore": null,
                            ...
                                },
                                "links": [
                                    {
                               ...
                                    }
                                ]
                            }
                        },
                        {
                            "RequirementId": 300100551434645,
                            "ScoreId": -1,
                            "ParentType": "SECTION",
                            "RequirementLevel": 1,
                            "RequirementNumber": "2.",
                            "QuestionId": null,
                            "QuestionRevisionNumber": null,
                            "Requirement": "Customer Development",
                            "Hint": null,
                            "LevelCode": "SUPPLIER",
                            "Level": "Supplier",
                            "ResponseTypeCode": "OPTIONAL",
                            "ResponseType": "Optional",
                            "RequirementTypeCode": "MCSS",
                            "RequirementType": "Multiple choice with single selection",
                            "ValueTypeCode": "SINGLE_LINE_TEXT",
                            "ValueType": "Single line text",
                            "TargetTextValue": null,
                            "TargetNumberValue": null,
                            "TargetDateValue": null,
                            "TargetDateTimeValue": null,
                            "DisplayTargetFlag": false,
                            "AttachmentsFromSuppliersCode": null,
                            "AttachmentsFromSuppliers": null,
                            "AllowCommentsFromSuppliersFlag": false,
                            "ScoringMethodCode": "AUTOMATIC",
                            "ScoringMethod": "Automatic",
                            "Weight": null,
                            "MaximumScore": null,
                            "KnockoutScore": null,
                            ...
                            "acceptableResponseScoreValues": {
                                "items": [
                                    {
                                        "RequirementId": 300100551434645,
                                        "ScoreId": 300100551434646,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "a.",
                                        "TextValue": "Yes",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "REQUIRED",
                                        "AttachmentsFromSuppliers": "Required",
                                        "Score": 5,
                                        ...
                                            },
                                            "links": [
                                                {
                                           ...
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "RequirementId": 300100551434645,
                                        "ScoreId": 300100551434647,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "b.",
                                        "TextValue": "No",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "OPTIONAL",
                                        "AttachmentsFromSuppliers": "Optional",
                                        "Score": 1,
                                        ...
                                            },
                                            "links": [
                                                {
                                        ...
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "RequirementId": 300100551434645,
                                        "ScoreId": 300100551434648,
                                        "TargetFlag": false,
                                        "NoResponseFlag": false,
                                        "ScoreDisplayNumber": "c.",
                                        "TextValue": "In future roadmap",
                                        "NumberFromRange": null,
                                        "NumberToRange": null,
                                        "DateFromRange": null,
                                        "DateToRange": null,
                                        "DateTimeFromRange": null,
                                        "DateTimeToRange": null,
                                        "AttachmentsFromSuppliersCode": "NOT_ALLOWED",
                                        "AttachmentsFromSuppliers": "Not allowed",
                                        "Score": 2,
                                        ...
                                            "links": [
                                        ...
                                                
                                            ]
                                        }
                                    }
                                ],
                               ...
      
                        }
                    ]
                }
            }
        }
    ]
}

Get a Section and Its Requirements

In this scenario, you query a section first, then query the section's child requirement. Additionally, you can perform similar queries for retrieving a grandchild requirement, that is, acceptable response values.

Get a Section

Example URL

GET

Use this resource URL format.

curl -u username:password "https://servername/fscmRestApi/resources/version/supplierNegotiations/ID/child/sections"

For example:

curl -u username:password "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections" 

Example Response

Here's an example of the response body in JSON format.

{
    "items": [
        {
            "SectionId": 300100551434634,
            "SectionDisplayNumber": "1.",
            "Section": "Company Profile",
            "EvaluationStageCode": "COMMERCIAL",
            "EvaluationStage": "Commercial",
            "ScoringTeamId": null,
            "ScoringTeam": null,
            ...
            "links": [
                { 
            ...
            ]
        },
        {
            "SectionId": 300100551434643,
            "SectionDisplayNumber": "2.",
            "Section": "General Capabilities",
            "EvaluationStageCode": "TECHNICAL",
            "EvaluationStage": "Technical",
            "ScoringTeamId": null,
            "ScoringTeam": null,
            ...
            "links": [
                {
            ...
            ]
        }
    ],
    "count": 2,
    "hasMore": false,
    "limit": 10,
    "offset": 0,
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections",
            "name": "sections",
            "kind": "collection"
        }
    ]
}

Get a Requirement

Example URL

GET

Use this resource URL format.

curl -u username:password "https://servername/fscmRestApi/resources/version/supplierNegotiations/ID/child/sections/ID/child/requirements"

For example:

curl -u username:password "https://servername/fscmRestApi/resources/version/suppliernegotiations/300100551449109/child/sections/300100551434634/child/requirements"

Example Response

Here's an example of the response body in JSON format.

{
    "items": [
        {
            "RequirementId": 300100551434635,
            "ScoreId": -1,
            "ParentType": "SECTION",
            "RequirementLevel": 1,
            "RequirementNumber": "1.",
            "QuestionId": null,
            "QuestionRevisionNumber": null,
            "Requirement": "Experience",
            "Hint": "Please include any supporting documents",
            "LevelCode": "SUPPLIER",
            "Level": "Supplier",
            "ResponseTypeCode": "REQUIRED",
            "ResponseType": "Required",
            "RequirementTypeCode": "MCSS",
            "RequirementType": "Multiple choice with single selection",
            "ValueTypeCode": "SINGLE_LINE_TEXT",
            "ValueType": "Single line text",
            "TargetTextValue": null,
            "TargetNumberValue": null,
            "TargetDateValue": null,
            "TargetDateTimeValue": null,
            "DisplayTargetFlag": false,
            "AttachmentsFromSuppliersCode": null,
            "AttachmentsFromSuppliers": null,
            "AllowCommentsFromSuppliersFlag": false,
            "ScoringMethodCode": "AUTOMATIC",
            "ScoringMethod": "Automatic",
            "Weight": null,
            "MaximumScore": null,
            "KnockoutScore": null,
            ...
            "links": [
                {
                    ...
                
                    "rel": "enclosure",
                    "href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634/child/requirements/300100551434635/enclosure/RequirementText",
                    "name": "RequirementText",
                    "kind": "other"
                }
            ]
        },
        {
            "RequirementId": 300100551434639,
            "ScoreId": -1,
            "ParentType": "SECTION",
            "RequirementLevel": 1,
            "RequirementNumber": "2.",
            "QuestionId": null,
            "QuestionRevisionNumber": null,
            "Requirement": "Code of Conduct",
            "Hint": "A copy of the agreement has been attached for your reference. Please scan in a signed version in support of your response.",
            "LevelCode": "SUPPLIER",
            "Level": "Supplier",
            "ResponseTypeCode": "REQUIRED",
            "ResponseType": "Required",
            "RequirementTypeCode": "MCSS",
            "RequirementType": "Multiple choice with single selection",
            "ValueTypeCode": "SINGLE_LINE_TEXT",
            "ValueType": "Single line text",
            "TargetTextValue": null,
            "TargetNumberValue": null,
            "TargetDateValue": null,
            "TargetDateTimeValue": null,
            "DisplayTargetFlag": false,
            "AttachmentsFromSuppliersCode": null,
            "AttachmentsFromSuppliers": null,
            "AllowCommentsFromSuppliersFlag": false,
            "ScoringMethodCode": "NONE",
            "ScoringMethod": "None",
            "Weight": null,
            "MaximumScore": null,
            "KnockoutScore": null,
            ...
            "links": [
                {
                    ...
                    

                }
            ]
        }
    ],
    "count": 2,
    "hasMore": false,
    "limit": 10,
    "offset": 0,
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634/child/requirements",
            "name": "requirements",
            "kind": "collection"
        }
    ]
}

Update a Requirement

In this scenario you can update only a requirement.

Example URL

Use this resource URL format.

PATCH

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/supplierNegotiations/AuctionHeaderId/child/sections/SectionId/child/requirements/RequirementId"

For example:

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634/child/requirements/300100551434635"

Example Request

Here's an example of the request body in JSON format.
{    
         "ScoringMethod": "Manual",
         "MaximumScore": 20
      
}

Example Response

Here's an example of the response body in JSON format.
{
    "RequirementId": 300100551434635,
    "ScoreId": -1,
    "ParentType": "SECTION",
    "RequirementLevel": 1,
    "RequirementNumber": "1.",
    "QuestionId": null,
    "QuestionRevisionNumber": null,
    "Requirement": "Experience",
    "Hint": "Please include any supporting documents",
    "LevelCode": "SUPPLIER",
    "Level": "Supplier",
    "ResponseTypeCode": "REQUIRED",
    "ResponseType": "Required",
    "RequirementTypeCode": "MCSS",
    "RequirementType": "Multiple choice with single selection",
    "ValueTypeCode": "SINGLE_LINE_TEXT",
    "ValueType": "Single line text",
    "TargetTextValue": null,
    "TargetNumberValue": null,
    "TargetDateValue": null,
    "TargetDateTimeValue": null,
    "DisplayTargetFlag": false,
    "AttachmentsFromSuppliersCode": null,
    "AttachmentsFromSuppliers": null,
    "AllowCommentsFromSuppliersFlag": false,
    "ScoringMethodCode": "MANUAL",
    "ScoringMethod": "Manual",
    "Weight": null,
    "MaximumScore": 20,
    "KnockoutScore": null,
    ...
        },
        "links": [
            {
                ...
             }
        ]
    }
}

Additionally, you can update multiple sections and requirements in a single call by using a batch method.

POST

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.batch+json" -d 'request payload' 
https://servername/fscmRestApi/resources

Example Request

{    
    "parts" : [
    {
      "id" : "part1",
      "path" : "/version/supplierNegotiations/300100551449109/child/sections/300100551434634",
      "operation" : "update",
      "payload" : {
        "Section": "Company"   
         }   
    },   
    {
     "id" : "part2",
      "path" : "/version/supplierNegotiations/300100551449109/child/sections/300100551434643",
      "operation" : "update",
      "payload" : {
        "Section": "Capabilities"       
        } 
   },
    {
     "id" : "part3",
      "path" : "/version/supplierNegotiations/300100551449109/child/sections/300100551434643/child/requirements/300100551434644",
      "operation" : "update",
      "payload" : {
                    "ScoringMethod": "Manual",
                      "MaximumScore": 20,
                      "AttachmentsFromSuppliers": "Optional"  
        } 
   },
   {
     "id" : "part4",
      "path" : "/version/supplierNegotiations/300100551449109/child/sections/300100551434643/child/requirements/300100551434645",
      "operation" : "update",
      "payload" : {
                    "ScoringMethod": "Automatic",
                    "MaximumScore": null,
                    "Weight":25                    
                        
        } 
   }

   ]    
}
Example Response
{
    "parts": [
        {
            "id": "part1",
            "path": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434634",
            "operation": "update",
            "payload": {
                "SectionId": 300100551434634,
                "SectionDisplayNumber": "1.",
                "Section": "Company",
                "EvaluationStageCode": "COMMERCIAL",
                "EvaluationStage": "Commercial",
                "ScoringTeamId": null,
                "ScoringTeam": null,
                ...
                
                    "links": [
                        {
                    ...
                        }
                    ]
                }
            }
        },
        {
            "id": "part2",
            "path": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434643",
            "operation": "update",
            "payload": {
                "SectionId": 300100551434643,
                "SectionDisplayNumber": "2.",
                "Section": "Capabilities",
                "EvaluationStageCode": "TECHNICAL",
                "EvaluationStage": "Technical",
                "ScoringTeamId": null,
                "ScoringTeam": null,
                ...
                
                    "links": [
                        {
                            ...
                        }
                    ]
                }
            }
        },
        {
            "id": "part3",
            "path": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434643/child/requirements/300100551434644",
            "operation": "update",
            "payload": {
                "RequirementId": 300100551434644,
                "ScoreId": -1,
                "ParentType": "SECTION",
                "RequirementLevel": 1,
                "RequirementNumber": "1.",
                "QuestionId": null,
                "QuestionRevisionNumber": null,
                "Requirement": "Technology",
                "Hint": null,
                "LevelCode": "SUPPLIER",
                "Level": "Supplier",
                "ResponseTypeCode": "REQUIRED",
                "ResponseType": "Required",
                "RequirementTypeCode": "INPUT_BOX",
                "RequirementType": "Text entry box",
                "ValueTypeCode": "MULTIPLE_LINE_TEXT",
                "ValueType": "Multiple line text",
                "TargetTextValue": null,
                "TargetNumberValue": null,
                "TargetDateValue": null,
                "TargetDateTimeValue": null,
                "DisplayTargetFlag": false,
                "AttachmentsFromSuppliersCode": "OPTIONAL",
                "AttachmentsFromSuppliers": "Optional",
                "AllowCommentsFromSuppliersFlag": false,
                "ScoringMethodCode": "MANUAL",
                "ScoringMethod": "Manual",
                "Weight": null,
                "MaximumScore": 20,
                "KnockoutScore": null,
                 ...
                    "links": [
                        {
                            ...
                        }
                    ]
                }
            }
        },
        {
            "id": "part4",
            "path": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100551449109/child/sections/300100551434643/child/requirements/300100551434645",
            "operation": "update",
            "payload": {
                "RequirementId": 300100551434645,
                "ScoreId": -1,
                "ParentType": "SECTION",
                "RequirementLevel": 1,
                "RequirementNumber": "2.",
                "QuestionId": null,
                "QuestionRevisionNumber": null,
                "Requirement": "Customer Development",
                "Hint": null,
                "LevelCode": "SUPPLIER",
                "Level": "Supplier",
                "ResponseTypeCode": "OPTIONAL",
                "ResponseType": "Optional",
                "RequirementTypeCode": "MCSS",
                "RequirementType": "Multiple choice with single selection",
                "ValueTypeCode": "SINGLE_LINE_TEXT",
                "ValueType": "Single line text",
                "TargetTextValue": null,
                "TargetNumberValue": null,
                "TargetDateValue": null,
                "TargetDateTimeValue": null,
                "DisplayTargetFlag": false,
                "AttachmentsFromSuppliersCode": null,
                "AttachmentsFromSuppliers": null,
                "AllowCommentsFromSuppliersFlag": false,
                "ScoringMethodCode": "AUTOMATIC",
                "ScoringMethod": "Automatic",
                "Weight": 25,
                "MaximumScore": null,
                "KnockoutScore": null,
                ...
                
                    "links": [
                        {
                 ...
                        }
                    ]
                }
            }
        }
    ]
}