Customer
string · requiredinteger · int32 · requiredstring · uuidinteger · int32
Properties for Variant 1:string · uuid
string · uuid · requiredboolean · requiredinteger · int32 · requiredinteger · int32 · requiredstring · uuid
naces
Operations addressed under /naces — 3 operations.
create-nace
POST
https://dg-sandbox.dgpays.com/customer-service
/naces
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
create-nace › Request Body
codelevelNoobject[] · required
parentNaceIdriskClasscreate-nace › Responses
Success. The schema is an anyOf over three envelopes: the record, a bare array of it, and a page {total, data[]} carrying the same record.
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array | |
| type = object · requires: data |
idupdate-nace
PUT
https://dg-sandbox.dgpays.com/customer-service
/naces/{id}
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idupdate-nace › Request Body
isActivelevelNoriskClassobject[] · required
parentNaceIdupdate-nace › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT.
No data returned