Chilkat Online Tools

Foxpro / LHDN MyInvois SDK / Submit Documents

Back to Collection Items

LOCAL loHttp
LOCAL lnSuccess
LOCAL loJson
LOCAL loResp

* This example assumes the Chilkat API to have been previously unlocked.
* See Global Unlock Sample for sample code.

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.Http')
loHttp = CreateObject('Chilkat.Http')

* Use this online tool to generate code from sample JSON: Generate Code to Create JSON

* The following JSON is sent in the request body.

* {
*   "documents": [
*     {
*       "format": "XML",
*       "documentHash": "asdsa234322r32f23f3f32f32f",
*       "codeNumber": "INV12345",
*       "document": "PEludm9pY2UKCXhtbG5zPSJ1cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6c2NoZW1hOnhzZDpJbnZvaWNlLTIiCgl4bWxuczpjYWM9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkNvbW1vbkFnZ3JlZ2F0ZUNvbXBvbmVudHMtMiIKCXhtbG5zOmNiYz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uQmFzaWNDb21wb25lbnRzLTIiPgoJPGNiYzpJbnZvaWNlVHlwZUNvZGUgbGlzdFZlcnNpb25JRD0iMC4xIj4wMTwvY2JjOkludm9pY2VUeXBlQ29kZT4KCTxjYmM6SUQ+SU5WMTIzNDU8L2NiYzpJRD4KCTxjYWM6QmlsbGluZ1JlZmVyZW5jZT4KCQk8Y2FjOkludm9pY2VEb2N1bWVudFJlZmVyZW5jZT4KCQkJPGNiYzpVVUlEPklSQk0gVW5pcXVlIElkZW50aWZpZXIgTnVtYmVyPC9jYmM6VVVJRD4KCQkJPGNiYzpJRD5JbnRlcm5hbCBJRDwvY2JjOklEPgoJCTwvY2FjOkludm9pY2VEb2N1bWVudFJlZmVyZW5jZT4KCTwvY2FjOkJpbGxpbmdSZWZlcmVuY2U+Cgk8Y2JjOklzc3VlRGF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JjOkVsZWN0cm9uaWNNYWlsPnh5ekB0ZXN0LmNvbTwvY2JjOkVsZWN0cm9uaWNNYWlsPgoJCQk8L2NhYzpDb250YWN0PgoJCTwvY2FjOlBhcnR5PgoJPC9jYWM6QWNjb3VudGluZ0N1c3RvbWVyUGFydHk+CjwvSW52b2ljZT4="
*     }
*   ]
* }

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loJson = CreateObject('Chilkat.JsonObject')
loJson.UpdateString("documents[0].format","XML")
loJson.UpdateString("documents[0].documentHash","asdsa234322r32f23f3f32f32f")
loJson.UpdateString("documents[0].codeNumber","INV12345")
loJson.UpdateString("documents[0].document","PEludm9pY2UKCXhtbG5zPSJ1cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6c2NoZW1hOnhzZDpJbnZvaWNlLTIiCgl4bWxuczpjYWM9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkNvbW1vbkFnZ3JlZ2F0ZUNvbXBvbmVudHMtMiIKCXhtbG5zOmNiYz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uQmFzaWNDb21wb25lbnRzLTIiPgoJPGNiYzpJbnZvaWNlVHlwZUNvZGUgbGlzdFZlcnNpb25JRD0iMC4xIj4wMTwvY2JjOkludm9pY2VUeXBlQ29kZT4KCTxjYmM6SUQ+SU5WMTIzNDU8L2NiYzpJRD4KCTxjYWM6QmlsbGluZ1JlZmVyZW5jZT4KCQk8Y2FjOkludm9pY2VEb2N1bWVudFJlZmVyZW5jZT4KCQkJPGNiYzpVVUlEPklSQk0gVW5pcXVlIElkZW50aWZpZXIgTnVtYmVyPC9jYmM6VVVJRD4KCQkJPGNiYzpJRD5JbnRlcm5hbCBJRDwvY2JjOklEPgoJCTwvY2FjOkludm9pY2VEb2N1bWVudFJlZmVyZW5jZT4KCTwvY2FjOkJ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Y1NDMyMTA8L2NiYzpUZWxlcGhvbmU+CgkJCQk8Y2JjOkVsZWN0cm9uaWNNYWlsPnh5ekB0ZXN0LmNvbTwvY2JjOkVsZWN0cm9uaWNNYWlsPgoJCQk8L2NhYzpDb250YWN0PgoJCTwvY2FjOlBhcnR5PgoJPC9jYWM6QWNjb3VudGluZ0N1c3RvbWVyUGFydHk+CjwvSW52b2ljZT4=")

* Adds the "Authorization: Bearer <access_token>" header.
loHttp.AuthToken = "<access_token>"

loResp = loHttp.PostJson3("https://{apiBaseUrl}/api/v1.0/documentsubmissions","application/json",loJson)
IF (loHttp.LastMethodSuccess = 0) THEN
    ? loHttp.LastErrorText
    RELEASE loHttp
    RELEASE loJson
    CANCEL
ENDIF

? STR(loResp.StatusCode)
? loResp.BodyStr
RELEASE loResp

RELEASE loHttp
RELEASE loJson

Curl Command

curl -X POST
	-H "Authorization: Bearer <access_token>"
	-d '{
    "documents": [
        {
            "format": "XML",
            "documentHash": "asdsa234322r32f23f3f32f32f",
            "codeNumber": "INV12345",
            "document": "PEludm9pY2UKCXhtbG5zPSJ1cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6c2NoZW1hOnhzZDpJbnZvaWNlLTIiCgl4bWxuczpjYWM9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkNvbW1vbkFnZ3JlZ2F0ZUNvbXBvbmVudHMtMiIKCXhtbG5zOmNiYz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uQmFzaWNDb21wb25lbnRzLTIiPgoJPGNiYzpJbnZvaWNlVHlwZUNvZGUgbGlzdFZlcnNpb25JRD0iMC4xIj4wMTwvY2JjOkludm9pY2VUeXBlQ29kZT4KCTxjYmM6SUQ+SU5WMTIzNDU8L2NiYzpJRD4KCTxjYWM6QmlsbGluZ1JlZmVyZW5jZT4KCQk8Y2FjOkludm9pY2VE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CBzY2hlbWVJRD0iTlJJQyI+TDE8L2NiYzpJRD4KCQkJCTxjYmM6SUQgc2NoZW1lSUQ9IlNTVCI+TDE8L2NiYzpJRD4KCQkJPC9jYWM6UGFydHlJZGVudGlmaWNhdGlvbj4KCQkJPGNhYzpDb250YWN0PgoJCQkJPGNiYzpUZWxlcGhvbmU+Kzk2LTk4NzY1NDMyMTA8L2NiYzpUZWxlcGhvbmU+CgkJCQk8Y2JjOkVsZWN0cm9uaWNNYWlsPnh5ekB0ZXN0LmNvbTwvY2JjOkVsZWN0cm9uaWNNYWlsPgoJCQk8L2NhYzpDb250YWN0PgoJCTwvY2FjOlBhcnR5PgoJPC9jYWM6QWNjb3VudGluZ0N1c3RvbWVyUGFydHk+CjwvSW52b2ljZT4="
        }
    ]
}'
https://{apiBaseUrl}/api/v1.0/documentsubmissions

Postman Collection Item JSON

{
  "name": "Submit Documents",
  "request": {
    "auth": {
      "type": "bearer",
      "bearer": [
        {
          "key": "token",
          "value": "{generatedAccessToken}",
          "type": "string"
        }
      ]
    },
    "method": "POST",
    "header": [
    ],
    "body": {
      "mode": "raw",
      "raw": "{\r\n    \"documents\": [\r\n        {\r\n            \"format\": \"XML\",\r\n            \"documentHash\": \"asdsa234322r32f23f3f32f32f\",\r\n            \"codeNumber\": \"INV12345\",\r\n            \"document\": \"PEludm9pY2UKCXhtbG5zPSJ1cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6c2NoZW1hOnhzZDpJbnZvaWNlLTIiCgl4bWxuczpjYWM9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkNvbW1vbkFnZ3JlZ2F0ZUNvbXBvbmVudHMtMiIKCXhtbG5zOmNiYz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uQmFzaWNDb21wb25lbnRzLTIiPgoJPGNiYzpJbnZvaWNlVHlwZUNvZGUgb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Y2FjOlBhcnR5TGVnYWxFbnRpdHk+CgkJCTxjYWM6UGFydHlJZGVudGlmaWNhdGlvbj4KCQkJCTxjYmM6SUQgc2NoZW1lSUQ9IlRJTiI+Qzk0ODMyOTM4MjwvY2JjOklEPgoJCQkJPGNiYzpJRCBzY2hlbWVJRD0iTlJJQyI+TDE8L2NiYzpJRD4KCQkJCTxjYmM6SUQgc2NoZW1lSUQ9IlNTVCI+TDE8L2NiYzpJRD4KCQkJPC9jYWM6UGFydHlJZGVudGlmaWNhdGlvbj4KCQkJPGNhYzpDb250YWN0PgoJCQkJPGNiYzpUZWxlcGhvbmU+Kzk2LTk4NzY1NDMyMTA8L2NiYzpUZWxlcGhvbmU+CgkJCQk8Y2JjOkVsZWN0cm9uaWNNYWlsPnh5ekB0ZXN0LmNvbTwvY2JjOkVsZWN0cm9uaWNNYWlsPgoJCQk8L2NhYzpDb250YWN0PgoJCTwvY2FjOlBhcnR5PgoJPC9jYWM6QWNjb3VudGluZ0N1c3RvbWVyUGFydHk+CjwvSW52b2ljZT4=\"\r\n        }\r\n    ]\r\n}",
      "options": {
        "raw": {
          "language": "json"
        }
      }
    },
    "url": {
      "raw": "{apiBaseUrl}/api/v1.0/documentsubmissions",
      "host": [
        "{apiBaseUrl}"
      ],
      "path": [
        "api",
        "v1.0",
        "documentsubmissions"
      ]
    }
  },
  "response": [
  ]
}