Retrieve contract

Retrieve contract

#affiliate

https://api.worldota.net/api/b2b/v3/general/contract/data/info/

The call gets contracts information.

Request example

curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/general/contract/data/info/'

Response

Response example

{
  "data":{
    "contract_datas":[
      {
        "active_from": "2018-07-02",
        "agreement_date": "2018-06-29",
        "agreement_number": "AFF-12980",
        "closing_documents_issuance_type": "monthly",
        "kind": "informational-services",
        "legal_entity": {
          "address_actual": "123 N Columbia Blvd",
          "address_legal": "113 N Columbia Blvd",
          "name": "123onetwothree",
          "taxpayer_id": "1231231231"
        },
        "terminated_at": null
      }
    ]
  },
  "debug": null,
  "error": null,
  "status": "ok"
}

Errors

The error field has the value specified in the headers below.

unauthorized

The authorization error. Ensure your API key and credentials are correct.

unknown

The internal ETG services’ timeout.