{"items":[{"type":"link","label":"Send Driver Comments","link":"/apis/sendcomments","routeSlug":"/apis/sendcomments","content":{"contentType":"overview","meta":{"name":"Send Driver Comments"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"sendComments.json","url":"/_bundle/apis/sendComments.json?download"},{"kind":"download","label":"sendComments.yaml","url":"/_bundle/apis/sendComments.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"email","title":"E-mail","titleTranslationKey":"info.contact.name","email":"integrations@truckertools.com","label":"integrations@truckertools.com","withCopyButton":true,"copyContent":"integrations@truckertools.com"},{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"Private","url":"https://www.truckertools.com"},{"kind":"externallink","label":"Terms of Service","labelTranslationKey":"info.termsOfService","url":"https://www.truckertools.com/terms/"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/apis/sendcomments","description":"Mock server","isMockServer":true},{"description":"Production Server","url":"https://loadtracking.truckertools.com"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Send Driver Comments (1.0.1)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requests are authenticated by the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"partnerId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"accountId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" attributes in the body."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"These values will be provided by TruckerTools during onboarding, the latter already being encrypted."},"children":[]}]}]}]}],"sectionId":"/apis/sendcomments"}],"sectionId":"/apis/sendcomments"}]}]}},{"label":"Send driver comments","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/sendcomments/other/sendcommentstodriver","routeSlug":"/apis/sendcomments/other/sendcommentstodriver","metadata":{"seo":{"title":"Send driver comments","description":"Send driver comments"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendCommentsToDriver","name":"Send driver comments","isWebhook":false,"pointer":"/paths/~1loadtrackservice~1sendCommentsToDriver/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send driver comments","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Comment"}},"schemaId":"components/schemas/Comment","pointer":"/paths/~1loadtrackservice~1sendCommentsToDriver/post/requestBody","description":"Load Track object that needs to be added to the load track system.\n"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/loadtrackservice/sendCommentsToDriver","servers":[{"url":"/_mock/apis/sendcomments","description":"Mock server","isMockServer":true},{"url":"https://loadtracking.truckertools.com","description":"Production Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/Comment"}},"responseCodes":["200","400"],"pointer":"/loadtrackservice/sendCommentsToDriver","href":"other/sendcommentstodriver","openApiOperationId":"sendCommentsToDriver","summary":"Send driver comments"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/sendcomments","description":"Mock server","isMockServer":true},{"url":"https://loadtracking.truckertools.com","description":"Production Server"}],"schemaId":"components/schemas/Comment","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Comment"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Comment Response\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_285"}},"schemaId":"schema_285"},{"code":"400","description":"Failed Comment Response\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_286"}},"schemaId":"schema_286"}],"pointer":"/paths/~1loadtrackservice~1sendCommentsToDriver/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_285","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_285"}}},{"code":"400","schemaId":"schema_286","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_286"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/other/sendcommentstodriver"}],"panels":[]}]},"httpPath":"/loadtrackservice/sendCommentsToDriver"}],"store":{"schemaStore":{"components/schemas/Comment":{"id":"components/schemas/Comment","kind":"json-schema","title":"Comment","data":{"type":"object","required":["partnerId","accountId","loadTrackExternalId","comment"],"properties":{"partnerId":{"type":"integer","minimum":0,"example":12345,"format":"int64","description":"This is a unique integer id that is assigned to the Partner system to identify the Partner system by the Load Track system. This has to be sent on each webservice call.\n"},"accountId":{"type":"string","example":"E++p1waC69ktJerPRkJHQg==","description":"Unique identifier of the Agent in the Broker System that entered the Load Track. This accountId has to be encrypted with the shared secret of the partner. This shared secret will be shared during the integration process.\n"},"loadTrackExternalId":{"type":"string","example":54321,"description":"The unique identifier of the Load in the Partner system.\n"},"comment":{"type":"string","example":"Please start your track.","description":"Comment to be sent to the driver.\n"}}}},"schema_285":{"kind":"json-schema","data":{"type":"object","required":["status","timeStamp"],"properties":{"response":{"type":"object","properties":{"status":{"type":"boolean","description":"Success indicator.\n"},"message":{"type":"string","description":"Status message.\n","example":"Load comment posted successfully."}}}}},"id":"schema_285"},"schema_286":{"kind":"json-schema","data":{"type":"object","required":["status","timeStamp"],"properties":{"response":{"type":"object","properties":{"status":{"type":"boolean","description":"Success indicator.\n","example":false},"errorMessage":{"type":"string","description":"Status message.\n","example":"No details found."},"errorCode":{"type":"number","description":"Error code.\n","example":200}}}}},"id":"schema_286"}},"exampleStore":{},"securitySchemeStore":{},"servers":[{"url":"/_mock/apis/sendcomments","isMockServer":true,"description":"Mock server"},{"url":"https://loadtracking.truckertools.com","description":"Production Server"}],"specType":"openapi"},"options":{"mockServer":{"url":"/_mock/apis/sendcomments","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/sendComments.json?download"},{"url":"/_bundle/apis/sendComments.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Send Driver Comments","description":"Requests are authenticated by the `partnerId` and `accountId` attributes in the body.\nThese values will be provided by TruckerTools during onboarding, the latter already being encrypted.\n"}},"baseSlug":"/apis/sendcomments","routesMapping":{}}