Skip to main content

Rx Direct to Vehicle

Supporting endpoints for Direct to Vehicle.

Sending Prescription Files

Users can send files with prescription details to a machine for a given company. A request body and URL parameters are required to perform an appropriate POST request.

The URL request parameters are as follows:

Parameter NameDescription
companyIdString.
VINString. Not a GUID.

Data retrievable through GET requests from the Rx Direct to Vehicle endpoints should be used when creating the request body.

Example

Below is an example of what the request body for a POST request would look like. The body must be sent as multipart/form-data.

{
"file": "123example.cn1.zip",
"fieldId": "9441d66c-24f8-43c4-b08f-dc8d76746a0e",
"seasonId": "5f34ff64-5242-4563-b3fc-2c963f66afa7",
"activityTypeId": "3fa85f75-5717-4473-b3fc-2c654f66afa6",
"productId": "7aa85a53-6274-4544-b3fc-2c963f66aff2",
"activityUOMOId": "4a34cc64-5727-4562-b3fc-2c963f66aaa5",
"areaUOMId": "55a85f64-5733-4562-b3fc-2c963faa52a6",
"shapeFileAttributeName": "EXAMPLE_ATTR"
}