Getting Started¶
Conventions used in all APIs¶
- Protocol: HTTPS,
POST, JSON body (Content-Type: application/json,Accept: application/json). - Business result: check the
codefield in the response body.000means success; any other code is an error described on each API's Response Codes page. - Amounts: decimal numbers in the currency given by the
currencyfield (ISO 4217, e.g.KHR,USD). - Implemented by / Called by: every endpoint page states which side builds the endpoint and which side calls it. Several APIs go in both directions.
Integration steps¶
- Agree with EDC which API(s) you will integrate.
- Receive SIT credentials and tokens privately from EDC / OONE.
- Build the endpoints your side must implement, and call the EDC endpoints in SIT.
- Run end-to-end testing with EDC, including failed and timeout cases.
- Receive production URLs and credentials, then go live.
Support¶
Contact your EDC / OONE integration contact for credentials, VPN setup and test data.