Create list of replenishment requests

post

/fscmRestApi/resources/11.13.18.05/vmiReplenishmentRequests

Request

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 : Replenishment Life Cycle
Type: array
Title: Replenishment Life Cycle
The Replenishment Life Cycle resource gets the life cycle states for a replenishment request.
Show Source
Nested Schema : Replenishment Request Errors
Type: array
Title: Replenishment Request Errors
The Replenishment Request Errors resource manages the errors received when a request is in the Failed status.
Show Source
Nested Schema : vmiReplenishmentRequests-ReplenishmentLifeCycle-item-post-request
Type: object
Show Source
Nested Schema : vmiReplenishmentRequests-ReplenishmentRequestErrors-item-post-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 : vmiReplenishmentRequests-item-response
Type: object
Show Source
Nested Schema : Replenishment Life Cycle
Type: array
Title: Replenishment Life Cycle
The Replenishment Life Cycle resource gets the life cycle states for a replenishment request.
Show Source
Nested Schema : Replenishment Request Errors
Type: array
Title: Replenishment Request Errors
The Replenishment Request Errors resource manages the errors received when a request is in the Failed status.
Show Source
Nested Schema : vmiReplenishmentRequests-ReplenishmentLifeCycle-item-response
Type: object
Show Source
  • Links
  • Read Only: true
    Quantity of the replenishment request in the replenishment life cycle state.
  • Read Only: true
    Maximum Length: 25
    Value that identifies the state of the replenishment item in the procurement life cycle. A list of accepted values is defined in the lookup type ORA_VCS_VMI_REPL_LIFE_CYCLE.
  • Read Only: true
    Maximum Length: 80
    State of the replenishment request in the procurement life cycle. Values can be pending request approval, pending receipt, pending shipment, or pending delivery.
Nested Schema : vmiReplenishmentRequests-ReplenishmentRequestErrors-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to create list of replenishment requests.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

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

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 creates.

{
 "SupplierName": "CV_SuppD05",
    "ItemNumber": "VMI-P200",
    "OrganizationCode": "VMIMFG3",
    "ReplenishmentQuantity": 10,
    "DeliveryDate": "2018-12-10",
    "Notes": "Notes to the Buyer"
}

Example Response Body

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

{
    "ReplenishmentRequestId": 300100176811309,
    "ReplenishmentRequestNumber": null,
    "SupplierId": -2,
    "SupplierName": "CV_SuppD05",
    "SupplierNumber": null,
    "SupplierSiteId": -2,
    "SupplierSiteName": null,
    "ProcurementBUId": null,
    "ProcurementBU": null,
    "OrganizationId": -2,
    "OrganizationCode": "VMIMFG3",
    "OrganizationName": null,
    "Subinventory": null,
    "SubinventoryDescription": null,
    "DelivertoLocationId": null,
    "DelivertoLocationName": null,
    "ShipToLocation": "VMIMFG3",
    "InventoryItemId": -2,
    "VmiItemId": null,
    "ItemNumber": "VMI-P200",
    "ItemDescription": null,
    "ItemCategory": "",
    "SupplierItemId": null,
    "SupplierItemName": null,
    "ReplenishmentQuantity": 10,
    "UnitOfMeasure": null,
    "UOMCode": null,
    "Status": null,
    "StatusCode": null,
    "DeliveryDate": "2018-12-10",
    "ProcessId": null,
    "SubmittedDate": null,
    "Notes": "Notes to the Buyer",
    "RequisitionId": null,
    "RequisitionNumber": null,
    "PurchaseOrderNumber": null,
    "PaymentNumber": null,
    "ShipmentNumber": null,
    "ReceiptNumber": null,
    "InvoiceNumber": null,
    "RequisitionRequesterId": null,
    "RequisitionRequesterName": null,
    "CreatedBy": "CVSUPPD05",
    "CreationDate": "2018-10-30T20:47:17+00:00",
    "LastUpdatedBy": "CVSUPPD05",
    "LastUpdateDate": "2018-10-30T20:47:17.136+00:00",
    "links": [
        {
            "rel": "self"
        }
    ]
}
Back to Top