Send Prescriptions
Steps to send a prescription to the Trimble Ag Cloud
- POST Initiate Prescription Import
- PATCH Upload zipped file for prescription import
- Optional Add how to direct to a display
Step 1: POST - Initiate Prescription Import Use this endpoint to create a prescription record with the prescription information.
- API Call:
{BaseURL}/prescriptions/{OrgId}/rx/importjob - Path Variable: Org ID
- Response: A successful POST request will result in the 200 status code along with the Job ID in the response body.
Step 2: PATCH - Upload zip file for Prescription import Use this endpoint to upload the Prescription zipped file to the Trimble Ag Software and/or directly to a field device.
- API Call:
{BaseURL}/prescriptions/{OrgId}/rx/importjob/{jobId} - Path Variable: Org ID, Job ID (obtained from Step 1 response)
- Response: When the PATCH request goes through it will result in a 204 No Content status code with empty response body.