{"id":21638490,"url":"https://github.com/linx-software/cartrack_integration","last_synced_at":"2025-03-19T01:15:28.321Z","repository":{"id":201194829,"uuid":"707172018","full_name":"linx-software/CarTrack_Integration","owner":"linx-software","description":"If you need to do a CarTrack integration, this repo is a good starting point. It contains a Linx solution that has some basic calls to the CarTrack API and that will assist you in making your CarTrack integration as efficient and as simple as possible. Use the pre-created functions as an example, or to assist in your own integration. ","archived":false,"fork":false,"pushed_at":"2023-11-29T08:51:27.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T02:44:02.744Z","etag":null,"topics":["api","api-rest","cartrack","integration","linx"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linx-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-10-19T11:13:42.000Z","updated_at":"2023-10-19T11:18:40.000Z","dependencies_parsed_at":"2023-12-19T09:13:47.019Z","dependency_job_id":null,"html_url":"https://github.com/linx-software/CarTrack_Integration","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"9d60cf4ee50eeb72b1b56a9aae24b9b6764c7884"},"previous_names":["linx-software/cartrack_integration"],"tags_count":0,"template":false,"template_full_name":"linx-software/template-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx-software%2FCarTrack_Integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx-software%2FCarTrack_Integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx-software%2FCarTrack_Integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx-software%2FCarTrack_Integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linx-software","download_url":"https://codeload.github.com/linx-software/CarTrack_Integration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244333022,"owners_count":20436123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-rest","cartrack","integration","linx"],"created_at":"2024-11-25T04:09:49.864Z","updated_at":"2025-03-19T01:15:28.300Z","avatar_url":"https://github.com/linx-software.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cartrack Integration Sample\r\n\r\n## Description\r\nThis repo contains a Linx 6 solution that shows how you can consume the [Cartrack API](https://cartrack.notion.site/REST-API-1e3c290c37844fdb9950729e52e68457). Use this solution as a base for your Cartrack integration. Add your system integration and uses the pre-created functions to interact with the Cartrack API. It makes use of a REST call to call the web service with a JSON body (handled by Types). The result is a JSON object that can be manipulated and consumed by other Linx functions or processes. The solution was made to be generic enough so that it will only call the endpoints and use them as you need to in your integration project.  \r\n\r\nYou can download this sample and manipulate it to suit your integration using [Linx 6](https://linx.software/).\r\n\r\n## Installation\r\nYou will need the Linx 6 Designer, get it [here](https://linx.software/linx-download/)\r\n\r\nThe solution also makes use of two Settings that you will need to set: \r\n\r\n- CarTrackBaseURL: Set the base URL for the Cartrack API, this is preconfigured \r\n\r\n- CarTrackToken: Your CarTrack Token \r\n\r\n- CarTrackUser: Your CarTrack User \r\n\r\n## Usage\r\n\r\nAll [authentication details (Token and User)](https://cartrack.notion.site/Getting-Started-33bbc1e5bb654d358412410f59e7c86f#1b2633da8725450db66e3ddcea9b65f3) are placed in the settings.\r\n\r\nThe solution has 4 main functions:\r\n\r\n#### CT_GetDrivers: \r\nThis function will get all drivers. It works by calling the [drivers](https://cartrack.notion.site/Drivers-4b7568a33f3c474c9395cd9b7c2100f3) endpoint. It will return a list of drivers. \r\n\r\n#### CT_GetJobs:\r\nThis function will get a list of Jobs based on input dates. The function has two parameters:\r\n- Created_From: This is the date that the order was create, and the filter will be applied on the API to filter only orders from the specified date. It is sent in the filter[ create_ts_from ] query parameter\r\n- Created_To: This is the date that the order was create, and the filter will be applied on the API to filter only orders to the specified date. It is sent in the filter[ create_ts_to ] query parameter.\r\n\r\nThe date filter is applied between the two entered dates.\r\n\r\nIt works by calling the [jobs](https://cartrack.notion.site/Jobs-0fab16052fdf48e2a9d2a88180ce5976) endpoint. It will return a list of Jobs. \r\n\r\n#### CT_GetSpecificJob:\r\nThis function will get a specific job based on the JobID. The function has an input parameter for the JobID. It works by calling the [jobs](https://cartrack.notion.site/Jobs-0fab16052fdf48e2a9d2a88180ce5976) endpoint. \r\n\r\n#### CT_SaveNewJob:\r\nThis function will create a new Job. It has a type input parameter that will require you to input all delivery information, use the CarTrackDelivery type to know what fields are to be added. It works by calling the [jobs](https://cartrack.notion.site/Jobs-0fab16052fdf48e2a9d2a88180ce5976) POST endpoint. It will return a list of Jobs. \r\n\r\n\r\n## Contributing\r\n\r\nFor questions please ask the [Linx community](https://linx/software/community). \r\n\r\n## License\r\n\r\n[MIT](https://github.com/linx-software/template-repo/blob/main/LICENSE.txt)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinx-software%2Fcartrack_integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinx-software%2Fcartrack_integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinx-software%2Fcartrack_integration/lists"}