{"info":{"_postman_id":"c81b7efb-2222-4736-9572-7f6590468574","name":"OpenEnvoy API Docs","description":"

OpenEnvoy provides RESTful API to make integration possible from clients.

\n

This documentation will provide details about Authentication, API methods, Data inputs, outputs, formats and best practices. It covers the API endpoints for the below high level functionalities:

\n\n

Authentication

\n

If you are an existing customer, please contact our customer success team at support@openenvoy.com for client_id and auth_token.

\n

Keep them in a secure place

\n

Authenticate each request by adding these details into header as below:

\n
X-CLIENT-ID: {{client_id}}\nAuthorization: Bearer {{auth_token}}\n\n

Errors

\n

Standard HTTP response codes are returned with each request.

\n

Example response codes:

\n

2xx: Request is processed successful

\n

4xx: Bad Request

\n

5xx: Server error

\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Errors","slug":"errors"}],"owner":"15538518","collectionId":"c81b7efb-2222-4736-9572-7f6590468574","publishedId":"TzRPjUnB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0c0"},"publishDate":"2024-03-05T16:36:27.000Z"},"item":[{"name":"Jobs","item":[{"name":"Get job details","id":"042fd320-1130-4bf2-9803-2afa8842b1ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"description":"

(Required) Client ID

\n","key":"X-CLIENT-ID","value":""}],"url":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber","description":"

Get Job Details by providing it's job number.

\n","urlObject":{"path":["jobs",":jobNumber"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[{"id":"d7035a88-534a-46da-8aa3-30f3c19c8bd9","description":{"content":"

(Required) Job Number

\n","type":"text/plain"},"type":"any","value":"OE0001","key":"jobNumber"}]}},"response":[{"id":"0fba8c7a-e697-4b52-87cf-a0e2f480b847","name":"Job object","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"url":{"raw":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber","host":["https://backend.openenvoy.io/public/api/v1"],"path":["jobs",":jobNumber"],"variable":[{"key":"jobNumber"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"6b09d439-64b0-4a87-8019-dd9c60a69f82\",\n \"status\": \"Matching\",\n \"active\": false,\n \"amount\": 2500,\n \"matched_amount\": 0,\n \"matched_amount_status\": \"Overcharged\",\n \"note\": null,\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"job_number\": \"OE0001\",\n \"provider\": {\n \"id\": \"6ca67919-8374-3825-7706-2e59cb531145\",\n \"name\": \"A Clarke & Co (Smethwick) Ltd\"\n },\n \"job_documents\": [\n {\n \"id\": \"urn:uuid:06a90a98-7869-0d7a-e7bb-2fddec1670a8\",\n \"job_id\": \"1b09d439-64b0-4a87-8019-dd9c60a69f23\",\n \"document_type\": \"Invoice\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"jobdocumentversions\": [\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n },\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"46188494-5e8e-3401-8ae1-9ea212291b82\",\n \"job_id\": \"1b09d439-64b0-4a87-8019-dd9c60a69f23\",\n \"document_type\": \"Invoice\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"jobdocumentversions\": [\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n },\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n }\n ]\n }\n ],\n \"invoice_info\": {\n \"number\": \"5457852\",\n \"date\": \"2019-01-03T00:00:00.000Z\",\n \"due_date\": \"2019-03-27T00:00:00.000Z\",\n \"payment_terms\": \"55 days\",\n \"amount_due\": 2500,\n \"currency\": \"USD\",\n \"seller\": {\n \"name\": \"Orin Fritsch\",\n \"address\": \"82465 Franecki Run Apt. 562 Sycamore, SC 29846\",\n \"email\": \"jast.adolf@yahoo.com\",\n \"phone_no\": \"952.829.6350 x2060\"\n },\n \"buyer\": {\n \"name\": \"Ms. Madelynn Lemke Sr.\",\n \"address\": \"3508 Adrianna Valleys Suite 774 Mount Vernon, ME 04352 \",\n \"email\": \"rbreitenberg@grimes.com\",\n \"phone_no\": \"1-571-945-5499 x5233\"\n },\n \"payment_information\": {\n \"bank_name\": \"DISTRIBUTION ACCT-REFCO\",\n \"account_name\": \"Cruz Fay\",\n \"bank_address\": \"61047 Madalyn Rest Pleasantville, NJ 08232\",\n \"routing_number\": \"11111111\",\n \"account_number\": \"1111-1111\",\n \"swift_code\": \"BOFAUS3N\",\n \"payment_link\": \"https://payment.link.com\"\n },\n \"line_items\": [\n {\n \"description\": \"HANDLING FEES\",\n \"quantity\": 1,\n \"unit_price\": 100000,\n \"currency\": \"THB\",\n \"total\": 100000\n },\n {\n \"description\": \"HANDLING FEES\",\n \"quantity\": 1,\n \"unit_price\": 100000,\n \"currency\": \"THB\",\n \"total\": 100000\n }\n ],\n \"metadata\": {\n \"Business Unit\": \"AIR EXPORT\",\n \"Account No\": \"(USD) 100-087576-056 (EUR)100-087576-061\",\n \"Nb of Parcels\": 6,\n \"Chargeable Weight\": \"106.000 Kg\",\n \"Gross Weight\": \"106.000 Kg\",\n \"Place of Loading\": \"PUDONG\",\n \"DUE DATE\": \"2019-03-27T00:00:00.000Z\",\n \"Job File\": \"CNSHA/51/558196\",\n \"INVOICE DATE\": \"2019-01-03T00:00:00.000Z\",\n \"MAWB/OBL\": \"112-99186323\",\n \"ETD\": \"2018-12-30T00:00:00.000Z\",\n \"Goods Description\": \"OPTICAL LENSES\",\n \"Netting Code\": 12580000000,\n \"Vol (cbm)\": 0.446,\n \"Vessel / Flight\": \"MU245\",\n \"HAWB/HBL\": \"CNSHA558196\",\n \"Place of Discharge\": \"DUBAI\",\n \"SWIFT Code\": \"HSBCCNSH\",\n \"Tracking No\": \"CNSHA/51/558196\",\n \"Operation\": \"Kevin Wu\",\n \"Code\": 85800,\n \"INVOICE NO\": 5457852,\n \"Salesman\": \"SADOUKI - CRM Sale\",\n \"TERMS\": \"55 Days\",\n \"Consignee\": \"OPTICAL SUPPLIES MIDDLE EAST FZE\",\n \"ETA\": \"2019-01-01T00:00:00.000Z\",\n \"Tel: +86\": \"21 3395 0600 Fax: +86 21 6886 9188\",\n \"Shipper\": \"JIANGSU CREASKY OPTICAL CO.,LTD\"\n }\n }\n}"}],"_postman_id":"042fd320-1130-4bf2-9803-2afa8842b1ed"},{"name":"Initiate job creation","id":"b6d6a55e-ba9d-4a50-8a87-de1ebe838d5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"description":"

(Required) Client ID

\n","key":"X-CLIENT-ID","value":""}],"body":{"mode":"formdata","formdata":[{"key":"provider_name","value":"Agility","type":"text","description":"

(Required) Name of the provider

\n"},{"key":"Invoice","type":"file","description":"

(Required) Invoice document

\n","contentType":"application/octet-stream","value":null}]},"url":"https://backend.openenvoy.io/public/api/v1/jobs/create","description":"

Initiate job creation

\n

This request initiates a new job creation and returns job number. Use this job number to make changes to this job. This request does not complete the create job operation, Upload job documents and \nMark job cretion complete need to be invoked to complete create job operation. Request payload maximum size allowed is 5MB.

\n

It is a multipart/form-data request which accepts one text field and one file field:

\n
    \n
  1. provider_name: Name of the invoice provider

    \n
  2. \n
  3. Invoice: Invoice file

    \n
  4. \n
\n

Related requests:

\n

Upload job documents

\n

Mark job creation complete

\n","urlObject":{"path":["jobs","create"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[]}},"response":[{"id":"57b2e892-a4c5-46b4-9f01-2fa1af30b933","name":"Job created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"body":{"mode":"formdata","formdata":[{"description":"(Required) Name of the provider","key":"provider_name","value":"Agility","type":"text"},{"description":"(Required) Invoice document","key":"Invoice","value":"in id culpa minim","type":"text"}]},"url":"https://backend.openenvoy.io/public/api/v1/jobs/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"6b09d439-64b0-4a87-8019-dd9c60a69f82\",\n \"status\": \"Matching\",\n \"active\": false,\n \"amount\": 2500,\n \"matched_amount\": 0,\n \"matched_amount_status\": \"Overcharged\",\n \"note\": null,\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"job_number\": \"OE0001\",\n \"provider\": {\n \"id\": \"urn:uuid:b822cb32-96f1-3e57-0ec2-014e9abb716d\",\n \"name\": \"A Clarke & Co (Smethwick) Ltd\"\n },\n \"job_documents\": [\n {\n \"id\": \"urn:uuid:8a0c8df7-673d-76a8-708c-9c784060ca20\",\n \"job_id\": \"1b09d439-64b0-4a87-8019-dd9c60a69f23\",\n \"document_type\": \"Invoice\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"jobdocumentversions\": [\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n },\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"b293b83c-44fc-1d0b-8e70-263889c845e0\",\n \"job_id\": \"1b09d439-64b0-4a87-8019-dd9c60a69f23\",\n \"document_type\": \"Invoice\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"jobdocumentversions\": [\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n },\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n }\n ]\n }\n ],\n \"invoice_info\": {\n \"number\": \"5457852\",\n \"date\": \"2019-01-03T00:00:00.000Z\",\n \"due_date\": \"2019-03-27T00:00:00.000Z\",\n \"payment_terms\": \"55 days\",\n \"amount_due\": 2500,\n \"currency\": \"USD\",\n \"seller\": {\n \"name\": \"Orin Fritsch\",\n \"address\": \"82465 Franecki Run Apt. 562 Sycamore, SC 29846\",\n \"email\": \"jast.adolf@yahoo.com\",\n \"phone_no\": \"952.829.6350 x2060\"\n },\n \"buyer\": {\n \"name\": \"Ms. Madelynn Lemke Sr.\",\n \"address\": \"3508 Adrianna Valleys Suite 774 Mount Vernon, ME 04352 \",\n \"email\": \"rbreitenberg@grimes.com\",\n \"phone_no\": \"1-571-945-5499 x5233\"\n },\n \"payment_information\": {\n \"bank_name\": \"DISTRIBUTION ACCT-REFCO\",\n \"account_name\": \"Cruz Fay\",\n \"bank_address\": \"61047 Madalyn Rest Pleasantville, NJ 08232\",\n \"routing_number\": \"11111111\",\n \"account_number\": \"1111-1111\",\n \"swift_code\": \"BOFAUS3N\",\n \"payment_link\": \"https://payment.link.com\"\n },\n \"line_items\": [\n {\n \"description\": \"HANDLING FEES\",\n \"quantity\": 1,\n \"unit_price\": 100000,\n \"currency\": \"THB\",\n \"total\": 100000\n },\n {\n \"description\": \"HANDLING FEES\",\n \"quantity\": 1,\n \"unit_price\": 100000,\n \"currency\": \"THB\",\n \"total\": 100000\n }\n ],\n \"metadata\": {\n \"Business Unit\": \"AIR EXPORT\",\n \"Account No\": \"(USD) 100-087576-056 (EUR)100-087576-061\",\n \"Nb of Parcels\": 6,\n \"Chargeable Weight\": \"106.000 Kg\",\n \"Gross Weight\": \"106.000 Kg\",\n \"Place of Loading\": \"PUDONG\",\n \"DUE DATE\": \"2019-03-27T00:00:00.000Z\",\n \"Job File\": \"CNSHA/51/558196\",\n \"INVOICE DATE\": \"2019-01-03T00:00:00.000Z\",\n \"MAWB/OBL\": \"112-99186323\",\n \"ETD\": \"2018-12-30T00:00:00.000Z\",\n \"Goods Description\": \"OPTICAL LENSES\",\n \"Netting Code\": 12580000000,\n \"Vol (cbm)\": 0.446,\n \"Vessel / Flight\": \"MU245\",\n \"HAWB/HBL\": \"CNSHA558196\",\n \"Place of Discharge\": \"DUBAI\",\n \"SWIFT Code\": \"HSBCCNSH\",\n \"Tracking No\": \"CNSHA/51/558196\",\n \"Operation\": \"Kevin Wu\",\n \"Code\": 85800,\n \"INVOICE NO\": 5457852,\n \"Salesman\": \"SADOUKI - CRM Sale\",\n \"TERMS\": \"55 Days\",\n \"Consignee\": \"OPTICAL SUPPLIES MIDDLE EAST FZE\",\n \"ETA\": \"2019-01-01T00:00:00.000Z\",\n \"Tel: +86\": \"21 3395 0600 Fax: +86 21 6886 9188\",\n \"Shipper\": \"JIANGSU CREASKY OPTICAL CO.,LTD\"\n }\n }\n}"},{"id":"1b7fe4cf-2a7f-458d-944f-58472c3372a5","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"body":{"mode":"formdata","formdata":[{"description":"(Required) Name of the provider","key":"provider_name","value":"Agility","type":"text"},{"description":"(Required) Invoice document","key":"Invoice","value":"in id culpa minim","type":"text"}]},"url":"https://backend.openenvoy.io/public/api/v1/jobs/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b6d6a55e-ba9d-4a50-8a87-de1ebe838d5b"},{"name":"Upload job documents","id":"38cda774-4b43-4214-a2a8-2c8facfd29a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"description":"

(Required) Client ID

\n","key":"X-CLIENT-ID","value":""}],"body":{"mode":"formdata","formdata":[{"key":"Baseline","type":"file","description":"

(Required) Baseline document

\n","contentType":"application/octet-stream","value":null}]},"url":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/upload","description":"

Upload job documents

\n

This request uploads baseline job document(s) to an existing Job and returns job documents details. This request requires job number as path parameter that received from Initiate job creation. Request payload maximum allowed size is 5MB.

\n

It is a multipart/form-data request which accepts one or more file fields:

\n
    \n
  1. Baseline: Baseline file
  2. \n
\n

Related requests:

\n

Initiate job creation

\n

Mark job creation complete

\n","urlObject":{"path":["jobs",":jobNumber","upload"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[{"id":"e12cf283-fa24-4500-bc02-b47569fbe720","description":{"content":"

(Required) Job Number

\n","type":"text/plain"},"type":"any","value":"OE0001","key":"jobNumber"}]}},"response":[{"id":"f8aadc1b-d7f6-49ea-87a1-0217ad089968","name":"Job updated with new baseline document","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"body":{"mode":"formdata","formdata":[{"description":"(Required) Baseline document","key":"Baseline","value":"sint Ex","type":"text"}]},"url":{"raw":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/upload","host":["https://backend.openenvoy.io/public/api/v1"],"path":["jobs",":jobNumber","upload"],"variable":[{"key":"jobNumber"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"6b09d439-64b0-4a87-8019-dd9c60a69f82\",\n \"status\": \"Matching\",\n \"active\": false,\n \"amount\": 2500,\n \"matched_amount\": 0,\n \"matched_amount_status\": \"Overcharged\",\n \"note\": null,\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"job_number\": \"OE0001\",\n \"provider\": {\n \"id\": \"urn:uuid:b822cb32-96f1-3e57-0ec2-014e9abb716d\",\n \"name\": \"A Clarke & Co (Smethwick) Ltd\"\n },\n \"job_documents\": [\n {\n \"id\": \"urn:uuid:8a0c8df7-673d-76a8-708c-9c784060ca20\",\n \"job_id\": \"1b09d439-64b0-4a87-8019-dd9c60a69f23\",\n \"document_type\": \"Invoice\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"jobdocumentversions\": [\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n },\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"b293b83c-44fc-1d0b-8e70-263889c845e0\",\n \"job_id\": \"1b09d439-64b0-4a87-8019-dd9c60a69f23\",\n \"document_type\": \"Invoice\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"jobdocumentversions\": [\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n },\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n }\n ]\n }\n ],\n \"invoice_info\": {\n \"number\": \"5457852\",\n \"date\": \"2019-01-03T00:00:00.000Z\",\n \"due_date\": \"2019-03-27T00:00:00.000Z\",\n \"payment_terms\": \"55 days\",\n \"amount_due\": 2500,\n \"currency\": \"USD\",\n \"seller\": {\n \"name\": \"Orin Fritsch\",\n \"address\": \"82465 Franecki Run Apt. 562 Sycamore, SC 29846\",\n \"email\": \"jast.adolf@yahoo.com\",\n \"phone_no\": \"952.829.6350 x2060\"\n },\n \"buyer\": {\n \"name\": \"Ms. Madelynn Lemke Sr.\",\n \"address\": \"3508 Adrianna Valleys Suite 774 Mount Vernon, ME 04352 \",\n \"email\": \"rbreitenberg@grimes.com\",\n \"phone_no\": \"1-571-945-5499 x5233\"\n },\n \"payment_information\": {\n \"bank_name\": \"DISTRIBUTION ACCT-REFCO\",\n \"account_name\": \"Cruz Fay\",\n \"bank_address\": \"61047 Madalyn Rest Pleasantville, NJ 08232\",\n \"routing_number\": \"11111111\",\n \"account_number\": \"1111-1111\",\n \"swift_code\": \"BOFAUS3N\",\n \"payment_link\": \"https://payment.link.com\"\n },\n \"line_items\": [\n {\n \"description\": \"HANDLING FEES\",\n \"quantity\": 1,\n \"unit_price\": 100000,\n \"currency\": \"THB\",\n \"total\": 100000\n },\n {\n \"description\": \"HANDLING FEES\",\n \"quantity\": 1,\n \"unit_price\": 100000,\n \"currency\": \"THB\",\n \"total\": 100000\n }\n ],\n \"metadata\": {\n \"Business Unit\": \"AIR EXPORT\",\n \"Account No\": \"(USD) 100-087576-056 (EUR)100-087576-061\",\n \"Nb of Parcels\": 6,\n \"Chargeable Weight\": \"106.000 Kg\",\n \"Gross Weight\": \"106.000 Kg\",\n \"Place of Loading\": \"PUDONG\",\n \"DUE DATE\": \"2019-03-27T00:00:00.000Z\",\n \"Job File\": \"CNSHA/51/558196\",\n \"INVOICE DATE\": \"2019-01-03T00:00:00.000Z\",\n \"MAWB/OBL\": \"112-99186323\",\n \"ETD\": \"2018-12-30T00:00:00.000Z\",\n \"Goods Description\": \"OPTICAL LENSES\",\n \"Netting Code\": 12580000000,\n \"Vol (cbm)\": 0.446,\n \"Vessel / Flight\": \"MU245\",\n \"HAWB/HBL\": \"CNSHA558196\",\n \"Place of Discharge\": \"DUBAI\",\n \"SWIFT Code\": \"HSBCCNSH\",\n \"Tracking No\": \"CNSHA/51/558196\",\n \"Operation\": \"Kevin Wu\",\n \"Code\": 85800,\n \"INVOICE NO\": 5457852,\n \"Salesman\": \"SADOUKI - CRM Sale\",\n \"TERMS\": \"55 Days\",\n \"Consignee\": \"OPTICAL SUPPLIES MIDDLE EAST FZE\",\n \"ETA\": \"2019-01-01T00:00:00.000Z\",\n \"Tel: +86\": \"21 3395 0600 Fax: +86 21 6886 9188\",\n \"Shipper\": \"JIANGSU CREASKY OPTICAL CO.,LTD\"\n }\n }\n}"},{"id":"415f6eac-7c41-4605-acd2-c5f6ef2c0170","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"body":{"mode":"formdata","formdata":[{"description":"(Required) Baseline document","key":"Baseline","value":"sint Ex","type":"text"}]},"url":{"raw":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/upload","host":["https://backend.openenvoy.io/public/api/v1"],"path":["jobs",":jobNumber","upload"],"variable":[{"key":"jobNumber"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"38cda774-4b43-4214-a2a8-2c8facfd29a7"},{"name":"Mark job creation complete","id":"3ac1a6fe-cb44-46f2-9ff0-24e3b3517ea1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"description":"

(Required) Client ID

\n","key":"X-CLIENT-ID","value":""}],"url":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/complete","description":"

Mark job creation complete

\n

This request completes job creation process and notifies the associated people at OpenEnvoy. This request requires job number as path parameter that received from Initiate job creation. It does not require any body.

\n

Related requests:

\n

Initiate job creation

\n

Upload job documents

\n","urlObject":{"path":["jobs",":jobNumber","complete"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[{"id":"154e5ebb-e558-47c3-a5de-cba0394b872b","description":{"content":"

(Required) Job Number

\n","type":"text/plain"},"type":"any","value":"OE0001","key":"jobNumber"}]}},"response":[{"id":"660f433c-a37f-4a62-9e0c-8667f581ffe1","name":"Job creation is completed","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"url":{"raw":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/complete","host":["https://backend.openenvoy.io/public/api/v1"],"path":["jobs",":jobNumber","complete"],"variable":[{"key":"jobNumber"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"6b09d439-64b0-4a87-8019-dd9c60a69f82\",\n \"status\": \"Matching\",\n \"active\": false,\n \"amount\": 2500,\n \"matched_amount\": 0,\n \"matched_amount_status\": \"Overcharged\",\n \"note\": null,\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"job_number\": \"OE0001\",\n \"provider\": {\n \"id\": \"urn:uuid:b822cb32-96f1-3e57-0ec2-014e9abb716d\",\n \"name\": \"A Clarke & Co (Smethwick) Ltd\"\n },\n \"job_documents\": [\n {\n \"id\": \"urn:uuid:8a0c8df7-673d-76a8-708c-9c784060ca20\",\n \"job_id\": \"1b09d439-64b0-4a87-8019-dd9c60a69f23\",\n \"document_type\": \"Invoice\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"jobdocumentversions\": [\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n },\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"b293b83c-44fc-1d0b-8e70-263889c845e0\",\n \"job_id\": \"1b09d439-64b0-4a87-8019-dd9c60a69f23\",\n \"document_type\": \"Invoice\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"jobdocumentversions\": [\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n },\n {\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n }\n ]\n }\n ],\n \"invoice_info\": {\n \"number\": \"5457852\",\n \"date\": \"2019-01-03T00:00:00.000Z\",\n \"due_date\": \"2019-03-27T00:00:00.000Z\",\n \"payment_terms\": \"55 days\",\n \"amount_due\": 2500,\n \"currency\": \"USD\",\n \"seller\": {\n \"name\": \"Orin Fritsch\",\n \"address\": \"82465 Franecki Run Apt. 562 Sycamore, SC 29846\",\n \"email\": \"jast.adolf@yahoo.com\",\n \"phone_no\": \"952.829.6350 x2060\"\n },\n \"buyer\": {\n \"name\": \"Ms. Madelynn Lemke Sr.\",\n \"address\": \"3508 Adrianna Valleys Suite 774 Mount Vernon, ME 04352 \",\n \"email\": \"rbreitenberg@grimes.com\",\n \"phone_no\": \"1-571-945-5499 x5233\"\n },\n \"payment_information\": {\n \"bank_name\": \"DISTRIBUTION ACCT-REFCO\",\n \"account_name\": \"Cruz Fay\",\n \"bank_address\": \"61047 Madalyn Rest Pleasantville, NJ 08232\",\n \"routing_number\": \"11111111\",\n \"account_number\": \"1111-1111\",\n \"swift_code\": \"BOFAUS3N\",\n \"payment_link\": \"https://payment.link.com\"\n },\n \"line_items\": [\n {\n \"description\": \"HANDLING FEES\",\n \"quantity\": 1,\n \"unit_price\": 100000,\n \"currency\": \"THB\",\n \"total\": 100000\n },\n {\n \"description\": \"HANDLING FEES\",\n \"quantity\": 1,\n \"unit_price\": 100000,\n \"currency\": \"THB\",\n \"total\": 100000\n }\n ],\n \"metadata\": {\n \"Business Unit\": \"AIR EXPORT\",\n \"Account No\": \"(USD) 100-087576-056 (EUR)100-087576-061\",\n \"Nb of Parcels\": 6,\n \"Chargeable Weight\": \"106.000 Kg\",\n \"Gross Weight\": \"106.000 Kg\",\n \"Place of Loading\": \"PUDONG\",\n \"DUE DATE\": \"2019-03-27T00:00:00.000Z\",\n \"Job File\": \"CNSHA/51/558196\",\n \"INVOICE DATE\": \"2019-01-03T00:00:00.000Z\",\n \"MAWB/OBL\": \"112-99186323\",\n \"ETD\": \"2018-12-30T00:00:00.000Z\",\n \"Goods Description\": \"OPTICAL LENSES\",\n \"Netting Code\": 12580000000,\n \"Vol (cbm)\": 0.446,\n \"Vessel / Flight\": \"MU245\",\n \"HAWB/HBL\": \"CNSHA558196\",\n \"Place of Discharge\": \"DUBAI\",\n \"SWIFT Code\": \"HSBCCNSH\",\n \"Tracking No\": \"CNSHA/51/558196\",\n \"Operation\": \"Kevin Wu\",\n \"Code\": 85800,\n \"INVOICE NO\": 5457852,\n \"Salesman\": \"SADOUKI - CRM Sale\",\n \"TERMS\": \"55 Days\",\n \"Consignee\": \"OPTICAL SUPPLIES MIDDLE EAST FZE\",\n \"ETA\": \"2019-01-01T00:00:00.000Z\",\n \"Tel: +86\": \"21 3395 0600 Fax: +86 21 6886 9188\",\n \"Shipper\": \"JIANGSU CREASKY OPTICAL CO.,LTD\"\n }\n }\n}"},{"id":"f6fff3ae-b814-4178-a133-b9f2aeb053ce","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"url":{"raw":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/complete","host":["https://backend.openenvoy.io/public/api/v1"],"path":["jobs",":jobNumber","complete"],"variable":[{"key":"jobNumber"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3ac1a6fe-cb44-46f2-9ff0-24e3b3517ea1"},{"name":"Update job document with new version","id":"44ae2db3-63ba-45b7-9953-92091ad92acf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"

(Required) Client ID

\n","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"},{"key":"Content-Type","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"document","value":"pariatur","type":"text","description":"

(Required) Invoice/Baseline document

\n"}]},"url":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/job_documents/:documentId","description":"

Update job document with new version

\n

This request uploads a new version to an existing invoice/baseline job document. This request requires job number as path parameter that received from Initiate job creation and job document id that received from Upload job documents. Request payload maximum allowed size is 5MB.

\n

It is a multipart/form-data request which accepts one file field:

\n
    \n
  1. document: Invoice/Baseline file
  2. \n
\n

Related requests:

\n

Initiate job creation

\n

Upload job documents

\n","urlObject":{"path":["jobs",":jobNumber","job_documents",":documentId"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[{"id":"8959078f-e37a-402c-85a4-0f03925e63e2","description":{"content":"

(Required) Job Number

\n","type":"text/plain"},"type":"any","value":"OE0001","key":"jobNumber"},{"id":"72d65471-2cee-4e23-aa66-0dc6fbd4bf4f","description":{"content":"

(Required) Job Document unique ID

\n","type":"text/plain"},"type":"any","value":"2da0e29c-a173-4ada-942c-b8036b3d3a3b","key":"documentId"}]}},"response":[{"id":"3f7991ae-f805-4214-96c1-b0a9b13853c9","name":"Job document updated with new version","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"body":{"mode":"formdata","formdata":[{"description":"(Required) Invoice/Baseline document","key":"document","value":"pariatur","type":"text"}]},"url":{"raw":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/job_documents/:documentId","host":["https://backend.openenvoy.io/public/api/v1"],"path":["jobs",":jobNumber","job_documents",":documentId"],"variable":[{"key":"jobNumber"},{"key":"documentId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"1d24d439-64b0-4a87-8019-dd9c60a69f82\",\n \"job_document_id\": \"5b41d439-64b0-4a87-8019-dd9c60a69f82\",\n \"filename\": \"Invoice.docx\",\n \"storage_url\": \"s3://open-envoy-dev-job-documents/069d9c24-3771-453f-a798-8ae8b632b4ae/b52ee8e2-a232-4cc0-b646-60ed428093a7.PDF\",\n \"update_by\": \"3a89d439-24b0-4a87-8019-dd9c60a69f82\",\n \"created_at\": \"2021-04-21T03:04:24.957Z\",\n \"updated_at\": \"2021-04-22T03:04:24.957Z\",\n \"version_number\": 1,\n \"matching_info\": [\n {\n \"charge_type\": \"HANDLING FEES\",\n \"document\": \"Invoice\",\n \"exchange_rate\": 1,\n \"invoice_amount\": 40391,\n \"invoice_before_tax\": 0,\n \"invoice_currency\": \"USD\",\n \"invoice_price\": 197,\n \"invoice_quantity\": 30,\n \"invoice_tax\": 30,\n \"invoice_unit\": \"BOL\",\n \"matched_amount\": 40391,\n \"matched_currency\": \"USD\",\n \"matched_price\": 197,\n \"matched_quantity\": 30,\n \"matched_unit\": \"BOL\"\n }\n ]\n}"},{"id":"65de65fe-df15-47d8-ae5b-7cccac76fa5c","name":"Bad Request","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"body":{"mode":"formdata","formdata":[{"description":"(Required) Invoice/Baseline document","key":"document","value":"pariatur","type":"text"}]},"url":{"raw":"https://backend.openenvoy.io/public/api/v1/jobs/:jobNumber/job_documents/:documentId","host":["https://backend.openenvoy.io/public/api/v1"],"path":["jobs",":jobNumber","job_documents",":documentId"],"variable":[{"key":"jobNumber"},{"key":"documentId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"44ae2db3-63ba-45b7-9953-92091ad92acf"}],"id":"2af3f405-9c1d-4770-9850-deb8ebc7f7a5","description":"

The Job object represents a task that is created in OpenEnvoy for auditing an invoice. Each job is identified by a unique jobNumber in your workspace with fixed prefix as OE000 and followed by a sequential number.

\n

e.g: OE0001, OE0002,..

\n

Job Attirbutes

\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
FieldDescription
idUnique identifier across OpenEnvoy system
job_numberUnique identifier within workspace
statusJob status e.g: Matching, Conflict..
activeActive job or not
providerProvider object. Details about provider
jobdocumentsJob document details that are uploaded to this job
\n

Authorization

\n

Provide each request with X-CLIENT-ID and Authorization headers. Refer Authentication

\n","_postman_id":"2af3f405-9c1d-4770-9850-deb8ebc7f7a5"},{"name":"Users","item":[{"name":"Get all users","id":"0f50c41b-1283-43a6-8104-c4f50ab228b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"X-CLIENT-ID","value":""}],"url":"https://backend.openenvoy.io/public/api/v1/users","description":"

This API will return all the details of active users associated with the company.

\n","urlObject":{"path":["users"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[]}},"response":[{"id":"007036ee-9ea1-49b7-9877-d30e3e7d55e1","name":"Get all users","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"url":"https://backend.openenvoy.io/public/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"id\": \"a1ad577d-30cb-41c4-978a-e6f40e6c5903\",\n \"email\": \"mdtest91@gmail.com\",\n \"name\": {\n \"first_name\": \"Alou\",\n \"last_name\": \"Tams\"\n },\n \"role\": {\n \"id\": \"d25704a9-e2cd-4fe8-a060-005aba288ad6\",\n \"name\": \"Viewer\"\n },\n \"active\": true,\n \"external_id\": \"test1234\",\n \"created_at\": \"2021-11-02T06:57:10.184Z\",\n \"updated_at\": \"2023-02-28T05:39:41.256Z\"\n },\n {\n \"id\": \"5c558418-9fcb-4e6c-ac99-c8b3452120c6\",\n \"email\": \"mindbender@mailinator.com\",\n \"name\": {\n \"first_name\": \"Mind\",\n \"last_name\": \"Bender\"\n },\n \"role\": {\n \"id\": \"bb1b23af-0413-473e-9b74-b4c3ec3e48a7\",\n \"name\": \"Admin\"\n },\n \"active\": true,\n \"external_id\": null,\n \"created_at\": \"2021-07-27T07:59:49.328Z\",\n \"updated_at\": \"2023-02-27T18:32:49.057Z\",\n \"mobile\": \"+145388285\",\n \"identity_type\": \"Google\"\n }\n]"}],"_postman_id":"0f50c41b-1283-43a6-8104-c4f50ab228b6"},{"name":"Get all roles","id":"ccff6e66-be2e-4d95-896d-f837e880319a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"","value":""},{"key":"X-CLIENT-ID","value":"client id"}],"url":"https://backend.openenvoy.io/public/api/v1/roles","description":"

An API for getting all the available roles

\n","urlObject":{"path":["roles"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[]}},"response":[{"id":"ee930d7e-4c4f-4223-ac04-31c8c2aec199","name":"Get all roles","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"url":"https://backend.openenvoy.io/public/api/v1/roles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"id\": \"5f2a9889-e8b8-4e7a-ae78-d426c9c84c8e\",\n \"name\": \"Admin\"\n },\n {\n \"id\": \"c3a7f764-0836-4fb5-869f-73e2c0c64dc9\",\n \"name\": \"Approve Only\"\n },\n {\n \"id\": \"b79ce7a6-b6e0-41fc-8028-07845f439cee\",\n \"name\": \"Contributor\"\n },\n {\n \"id\": \"d25704a9-e2cd-4fe8-a060-005aba288ad6\",\n \"name\": \"Viewer\"\n }\n]"}],"_postman_id":"ccff6e66-be2e-4d95-896d-f837e880319a"},{"name":"Get single user","id":"8cef35ff-f6a6-41d8-83fb-332b51679e8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"X-CLIENT-ID","value":"client id"}],"url":"https://backend.openenvoy.io/public/api/v1/users/:userId","description":"

API for getting a user with external id or internal user id (uuid). The priority will be external id > internal id. If no user is found, the API returns 404.

\n","urlObject":{"path":["users",":userId"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[{"type":"any","value":"external id | internal user id","key":"userId"}]}},"response":[{"id":"56b8d6ab-b0ec-4d12-a0b9-ec9d3a1fc78c","name":"Get single user","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"}],"url":{"raw":"https://backend.openenvoy.io/public/api/v1/users/:userId","protocol":"https","host":["backend","openenvoy","io"],"path":["public","api","v1","users",":userId"],"variable":[{"key":"userId","value":"test1234","description":"external id of the user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"id\": \"a1ad577d-30cb-41c4-978a-e6f40e6c5903\",\n \"email\": \"mdtest91@gmail.com\",\n \"name\": {\n \"first_name\": \"Alou\",\n \"last_name\": \"Tams\"\n },\n \"role\": {\n \"id\": \"d25704a9-e2cd-4fe8-a060-005aba288ad6\",\n \"name\": \"Viewer\"\n },\n \"active\": true,\n \"external_id\": \"test1234\",\n \"created_at\": \"2021-11-02T06:57:10.184Z\",\n \"updated_at\": \"2023-02-28T05:39:41.256Z\",\n \"mobile\": \"+145388285\",\n \"identity_type\": \"Google\"\n }\n]"}],"_postman_id":"8cef35ff-f6a6-41d8-83fb-332b51679e8b"},{"name":"update user","id":"7c8de296-c3dd-4766-9ce6-7412d7088800","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"X-CLIENT-ID","value":"client id"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n \"active\": true,\n \"first_name\": \"Sample\",\n \"last_name\": \"user\"\n}"},"url":"https://backend.openenvoy.io/public/api/v1/users/:userId","description":"

An API to update the details of the user.

\n

Updatable fields : first_name, last_name and active flag

\n","urlObject":{"path":["users",":userId"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[{"type":"any","value":"external id","key":"userId"}]}},"response":[{"id":"ff513f96-4d2d-4f00-8684-c3acfbfa2c7f","name":"Update user","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":""},{"description":"(Required) Client ID","key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"first_name\": \"Alou\",\n \"last_name\": \"Tams\",\n \"active\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://backend.openenvoy.io/public/api/v1/users/:userId","protocol":"https","host":["backend","openenvoy","io"],"path":["public","api","v1","users",":userId"],"variable":[{"key":"userId","value":"test1234","description":"external id of the user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"id\": \"a1ad577d-30cb-41c4-978a-e6f40e6c5903\",\n \"email\": \"mdtest91@gmail.com\",\n \"name\": {\n \"first_name\": \"Alou\",\n \"last_name\": \"Tams\"\n },\n \"role\": {\n \"id\": \"d25704a9-e2cd-4fe8-a060-005aba288ad6\",\n \"name\": \"Viewer\"\n },\n \"active\": true,\n \"external_id\": \"test1234\",\n \"created_at\": \"2021-11-02T06:57:10.184Z\",\n \"updated_at\": \"2023-02-28T05:39:41.256Z\",\n \"mobile\": \"+145388285\",\n \"identity_type\": \"Google\"\n }\n]"}],"_postman_id":"7c8de296-c3dd-4766-9ce6-7412d7088800"},{"name":"assign role to user","id":"d7a744f3-d670-498e-a7f1-3fee5f11edb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"X-CLIENT-ID","value":"client id"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n \"external_id\": {{userId}}\n}"},"url":"https://backend.openenvoy.io/public/api/v1/users/assign/role","description":"

An API to assign / revoke roles to a user.

\n

if no role is provided, the user will be moved to viewer role (lowest privilege)

\n","urlObject":{"path":["users","assign","role"],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[]}},"response":[{"id":"62817146-2033-4db0-b696-076698121efb","name":"Assign role","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"","type":"text","description":"Added as a part of security scheme: apikey"},{"key":"X-CLIENT-ID","value":"5f09d439-64b0-4a87-8019-dd9c60a69f82","type":"text","description":"(Required) Client ID"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"external_id\": \"test1234\",\n \"role\": \"d25704a9-e2cd-4fe8-a060-005aba288ad6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v1/users/assign/role"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n {\n \"id\": \"a1ad577d-30cb-41c4-978a-e6f40e6c5903\",\n \"email\": \"mdtest91@gmail.com\",\n \"name\": {\n \"first_name\": \"Alou\",\n \"last_name\": \"Tams\"\n },\n \"role\": {\n \"id\": \"d25704a9-e2cd-4fe8-a060-005aba288ad6\",\n \"name\": \"Viewer\"\n },\n \"active\": true,\n \"external_id\": \"test1234\",\n \"created_at\": \"2021-11-02T06:57:10.184Z\",\n \"updated_at\": \"2023-02-28T05:39:41.256Z\"\n }\n]"}],"_postman_id":"d7a744f3-d670-498e-a7f1-3fee5f11edb8"},{"name":"Create user","id":"8df8f174-8bdf-4815-878a-4ed4bc102bdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"X-CLIENT-ID","value":"client id"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n \"first_name\": \"sample\",\n \"last_name\": \"user\",\n \"email\": \"sampleuser@openenvoy.com\",\n \"role\": \"sample-role-id\",\n \"external_id\": \"sample-external-id\",\n \"identity_type\": \"Google\",\n \"mobile\": \"+145388285\"\n}"},"url":"https://backend.openenvoy.io/public/api/v1/users/","description":"

API to create the user.

\n

Payload

\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
NameTypeRequiredDescription
first_namestringNo
last_namestringNo
rolestringNodefaults to viewer role
emailstringyes
mobilestringno
external_idstringyesRequired to update user
identity_typestringyesSSO’s name. Valid names are ( Google, Microsoft, SSO)
\n
","urlObject":{"path":["users",""],"host":["https://backend.openenvoy.io/public/api/v1"],"query":[],"variable":[]}},"response":[{"id":"df67dda3-bc7c-416a-9b63-e55b67138b39","name":"Create user","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true},{"key":"X-CLIENT-ID","value":"client id"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"first_name\": \"sample\",\n \"last_name\": \"user\",\n \"email\": \"sampleuser@openenvoy.com\",\n \"role\": \"sample-role-id\",\n \"external_id\": \"sample-external-id\",\n \"identity_type\": \"Google\",\n \"mobile\": \"+145388285\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v1/users/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"id\": \"c268e82f-c9b7-4583-9094-b4df4740f3e4\",\n \"email\": \"sampleuser@openenvoy.com\",\n \"name\": {\n \"first_name\": \"sample\",\n \"last_name\": \"user\"\n },\n \"role\": {\n \"id\": \"d25704a9-e2cd-4fe8-a060-005aba288ad6\",\n \"name\": \"Viewer\"\n },\n \"active\": true,\n \"external_id\": \"sample-external-id\",\n \"created_at\": \"2023-07-13T12:28:05.268Z\",\n \"updated_at\": \"2023-07-13T12:28:05.268Z\",\n \"mobile\": \"+145388285\",\n \"identity_type\": \"Google\"\n }\n]"},{"id":"750fd377-1bb6-43fc-87a4-296609a51659","name":"Bad request: Email exists","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true},{"key":"X-CLIENT-ID","value":"client id"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"first_name\": \"sample\",\n \"last_name\": \"user - 2\",\n \"email\": \"sampleuser@openenvoy.com\",\n \"role\": \"sample-role-id\",\n \"external_id\": \"sample-external-id-2\",\n \"identity_type\": \"Google\",\n \"mobile\": \"+145388285\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v1/external/users/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"invalid\",\n \"details\": {\n \"name\": \"ValidationError\",\n \"value\": {},\n \"errors\": [\n \"Email already exists. Please try again.\"\n ],\n \"inner\": [\n {\n \"name\": \"ValidationError\",\n \"path\": \"email\",\n \"type\": \"E00001\",\n \"errors\": [],\n \"inner\": [],\n \"message\": \"Email already exists. Please try again.\",\n \"params\": []\n }\n ],\n \"message\": \"Email already exists. Please try again.\"\n },\n \"message\": \"Email already exists. Please try again.\"\n}"},{"id":"d59d322c-ce8e-4778-a0da-4810734984ff","name":"Bad request: External ID exists","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true},{"key":"X-CLIENT-ID","value":"client id"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"first_name\": \"sample\",\n \"last_name\": \"user-2\",\n \"email\": \"sampleuser-2@openenvoy.com\",\n \"role\": \"sample-role-id\",\n \"external_id\": \"sample-external-id\",\n \"identity_type\": \"Google\",\n \"mobile\": \"+145388285\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v1/external/users/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"invalid\",\n \"details\": {\n \"name\": \"ValidationError\",\n \"value\": {},\n \"errors\": [\n \"External Id already exists\"\n ],\n \"inner\": [\n {\n \"name\": \"ValidationError\",\n \"path\": \"external_id\",\n \"type\": \"E00001\",\n \"errors\": [],\n \"inner\": [],\n \"message\": \"External Id already exists\",\n \"params\": []\n }\n ],\n \"message\": \"External Id already exists\"\n },\n \"message\": \"External Id already exists\"\n}"}],"_postman_id":"8df8f174-8bdf-4815-878a-4ed4bc102bdd"}],"id":"03da9336-a4e9-4f85-a19a-beb19868d901","description":"

API collection for modifying the users of a company

\n","_postman_id":"03da9336-a4e9-4f85-a19a-beb19868d901"},{"name":"JobsV2","item":[{"name":"Get Job Details","id":"240a547f-4694-4dd1-b2b9-73c054f962af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-CLIENT-ID","value":"abcedf-d611-4ff4-8ca3-12345"}],"url":"https://backend.openenvoy.io/public/api/v2/jobs/:jobNumber","urlObject":{"path":["jobs",":jobNumber"],"host":["https://backend.openenvoy.io/public/api/v2"],"query":[],"variable":[{"type":"any","value":"","key":"jobNumber"}]}},"response":[],"_postman_id":"240a547f-4694-4dd1-b2b9-73c054f962af"},{"name":"Get all jobs","id":"8e83956b-5903-4655-b71e-d004f9b0caea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-CLIENT-ID","value":"abcedf-d611-4ff4-8ca3-12345"}],"body":{"mode":"raw","raw":"{\n \"currentRoute\": \"active\",\n \"isHomePageQuery\": true,\n \"query\": [],\n \"page\": {\n \"size\": 100,\n \"num\": 1\n },\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"allowToSetJobs\": true,\n \"includePreliminaryData\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v2/jobs","urlObject":{"path":["jobs"],"host":["https://backend.openenvoy.io/public/api/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e83956b-5903-4655-b71e-d004f9b0caea"},{"name":"Change a job’s status","id":"d6708626-27f8-4d81-8d80-344a930f50de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-CLIENT-ID","value":"abcedf-d611-4ff4-8ca3-12345"}],"body":{"mode":"raw","raw":"{\n \"status\": \"Conflict\",\n \"comment\": \"Optional comment\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v2/jobs/:jobNumber/status","urlObject":{"path":["jobs",":jobNumber","status"],"host":["https://backend.openenvoy.io/public/api/v2"],"query":[],"variable":[{"type":"any","value":"","key":"jobNumber"}]}},"response":[],"_postman_id":"d6708626-27f8-4d81-8d80-344a930f50de"},{"name":"Approve a job","id":"e8bb58f0-8cb9-4742-99b4-52c428f18118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-CLIENT-ID","value":"abcedf-d611-4ff4-8ca3-12345"}],"body":{"mode":"raw","raw":"{\n \"comment\": \"Job approved for processing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v2/jobs/:jobNumber/approve","urlObject":{"path":["jobs",":jobNumber","approve"],"host":["https://backend.openenvoy.io/public/api/v2"],"query":[],"variable":[{"type":"any","value":"","key":"jobNumber"}]}},"response":[],"_postman_id":"e8bb58f0-8cb9-4742-99b4-52c428f18118"},{"name":"Rematch a job","id":"70035f98-b3c7-442d-a44e-3e1b5f4f00c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-CLIENT-ID","value":"abcedf-d611-4ff4-8ca3-12345"}],"body":{"mode":"raw","raw":"{\n \"reason\": \"DOC_EMAILED\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v2/jobs/:jobNumber/rematch","urlObject":{"path":["jobs",":jobNumber","rematch"],"host":["https://backend.openenvoy.io/public/api/v2"],"query":[],"variable":[{"type":"any","value":"","key":"jobNumber"}]}},"response":[],"_postman_id":"70035f98-b3c7-442d-a44e-3e1b5f4f00c3"},{"name":"Delete a job","id":"68c74f55-1c69-4d03-a3a7-38bbfd9979a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-CLIENT-ID","value":"abcedf-d611-4ff4-8ca3-12345"}],"body":{"mode":"raw","raw":"{\n \"deleted\": true,\n \"comment\": \"Job deleted via API\"\n}","options":{"raw":{"language":"json"}}},"url":"https://backend.openenvoy.io/public/api/v2/jobs/:jobNumber/delete","urlObject":{"path":["jobs",":jobNumber","delete"],"host":["https://backend.openenvoy.io/public/api/v2"],"query":[],"variable":[{"type":"any","value":"","key":"jobNumber"}]}},"response":[],"_postman_id":"68c74f55-1c69-4d03-a3a7-38bbfd9979a2"}],"id":"91f54459-c32f-45cf-9236-13c8fb9e525d","_postman_id":"91f54459-c32f-45cf-9236-13c8fb9e525d","description":""},{"name":"Document","item":[],"id":"06ec038b-2acf-46fc-8f44-746443d40442","_postman_id":"06ec038b-2acf-46fc-8f44-746443d40442","description":""}],"event":[{"listen":"prerequest","script":{"id":"14b258a0-2cb7-44c8-9e7d-c9b0bfcd817e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c7e8266b-7c2c-4bc4-a00c-2952d1bf1b27","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://backend.openenvoy.io/public/api/v1"},{"key":"domain","value":"https://backend.openenvoy.io/api"},{"key":"baseUrlV2","value":"https://backend.openenvoy.io/public/api/v2","type":"string"}]}