Chilkat Online Tools

Unicode C++ / Coupa Postman Collection - OAuth - Master / Get contract by ID

Back to Collection Items

void ChilkatSample(void)
    {
    http.put_AuthToken(L"<access_token>");    success = http.QuickGetSb(L"https://domain.com/contracts/:id",sbResponseBody);
    }

Curl Command

curl -X GET
	-H "Authorization: Bearer <access_token>"
https://domain.com/contracts/:id

Postman Collection Item JSON

{
  "name": "Get contract by ID",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{URL}}/contracts/:id",
      "host": [
        "{{URL}}"
      ],
      "path": [
        "contracts",
        ":id"
      ],
      "variable": [
        {
          "key": "id",
          "value": "377",
          "type": "string"
        }
      ]
    }
  },
  "response": [
  ]
}