Update one allocation

patch

/fscmRestApi/resources/11.13.18.05/backlogManagementPlans/{BmRunId}/child/allocations/{allocationsUniqID}

Request

Path Parameters
  • Value that uniquely identifies the backlog management plan run.
  • This is the hash key of the attributes which make up the composite key for the Allocations resource and used to uniquely identify an instance of Allocations. The client should not generate the hash key value. Instead, the client should query on the Allocations collection resource in order to navigate to a specific instance of Allocations to get the hash key.
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
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 : backlogManagementPlans-allocations-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to update one allocation detail to the backlog management plan.

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/backlogManagementPlans/BmRunId/child/allocations/allocationsUniqID"

For example:

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "servername/fscmRestApi/resources/version/backlogManagementPlans/-1/child/allocations/00070000000EACED00057708FFFFFFFFFFFFFFFF0000000EACED00057708000000000193E88D0000000EACED00057708000000000000B2470000000EACED00057708FFFFFFFFFFFFA4630000000EACED00057708000110F09A559A030000000EACED00057708000000000024B8D80000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001B91DB8600078"

Example Request Body

The following example includes the contents of the request body in JSON format.

{
"AllocUserDef": 200
}

Example Response Body

The following example includes the contents of the response body in JSON format:
{
"BmRunId": -1,
"InventoryItemId": 26470541,
"OrganizationId": 45639,
"AttributeId": 300100544207363,
"AttributeValueId": 2406616,
"Level1AttributeValueId": 2406598,
"Level2AttributeValueId": 2406622,
"Level3AttributeValueId": 2406616,
"AllocationDate": "2030-01-14",
"AllocSup": 17.5,
"ConsumSup": 15,
"AvailSup": 2.5,
"CumlAvailSup": 2.5,
"GrossAlloc": 17.5,
"GrossConsum": 15,
"GrossAvail": 2.5,
"GrossCumlAvail": 2.5,
"AllocSteal": 0,
"GrossAllocSteal": 0,
"AvailSteal": null,
"NetWeekSup": 140,
"Level1AttributeName": "BLM-All",
"Level2AttributeName": "BLM-CustParentGrp",
"Level3AttributeName": "BLM-CustGrp",
"Level1AttributeValName": "ALL",
"Level2AttributeValName": "BLM-South",
"Level3AttributeValName": "BLM-SouthWest",
"InventoryItemName": "BLM-ALLOC-JI'WithDiffAllocation",
"OrganizationName": "Denver Manufacturing_BLM",
"OrganizationCode": "BLM:BLM_M1",
"LastUpdatedBy": "BLM_ALL",
"LastUpdateLogin": "C9C4BF012BA4435CE0534005F00A32BD",
"LastUpdateDate": "2021-08-25T10:45:55+00:00",
"CreatedBy": "BLM_ALL",
"CreationDate": "2021-08-18T12:30:18.886+00:00",
"AllocUserDef": 200,
"ESSJobId": null,
"Message": null,
"UpdateMode": null,
"links": [
{
"rel": "self",
"href": "servername/fscmRestApi/resources/version/backlogManagementPlans/-1/child/allocations/00070000000EACED00057708FFFFFFFFFFFFFFFF0000000EACED00057708000000000193E88D0000000EACED00057708000000000000B2470000000EACED00057708FFFFFFFFFFFFA4630000000EACED00057708000110F09A559A030000000EACED00057708000000000024B8D80000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001B91DB8600078",
"name": "allocations",
"kind": "item"
},
{
"rel": "canonical",
"href": "servername/fscmRestApi/resources/version/backlogManagementPlans/-1/child/allocations/00070000000EACED00057708FFFFFFFFFFFFFFFF0000000EACED00057708000000000193E88D0000000EACED00057708000000000000B2470000000EACED00057708FFFFFFFFFFFFA4630000000EACED00057708000110F09A559A030000000EACED00057708000000000024B8D80000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001B91DB8600078",
"name": "allocations",
"kind": "item"
},
{
"rel": "parent",
"href": "servername/fscmRestApi/resources/version/backlogManagementPlans/-1",
"name": "backlogManagementPlans",
"kind": "item"
},
{
"rel": "enclosure",
"href": "servername/fscmRestApi/resources/version/backlogManagementPlans/-1/child/allocations/00070000000EACED00057708FFFFFFFFFFFFFFFF0000000EACED00057708000000000193E88D0000000EACED00057708000000000000B2470000000EACED00057708FFFFFFFFFFFFA4630000000EACED00057708000110F09A559A030000000EACED00057708000000000024B8D80000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001B91DB8600078/enclosure/UpdateAsync",
"name": "UpdateAsync",
"kind": "other"
}
]
}
Back to Top