Foreign Trade
stringstringinteger · int32integer · int32
string · uuid · required
kernel
Operations addressed under /kernel — 2 operations.
foreign-trade-get-compensating-event-list
GET
https://dg-sandbox.dgpays.com/foreign-trade-service
/kernel/compensating-events
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<CompensatingEventDto>.
| Field | Declared type | Nullable |
|---|---|---|
EventId | Guid | no |
CorrelationId | Guid | no |
EventType | string | no |
EventPayload | string | no |
StateCode | string | no |
CreatedDate | DateTime | no |
Member names are the service's declaration names.
query Parameters
object
orderByorderSortpageIndexpageSizeforeign-trade-get-compensating-event-list › Responses
Success. An exact, uniquely bound route registration classifies this response as a collection.
No data returned
foreign-trade-get-compensating-event-by-id
GET
https://dg-sandbox.dgpays.com/foreign-trade-service
/kernel/compensating-events/{id}
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as CompensatingEventDto.
| Field | Declared type | Nullable |
|---|---|---|
EventId | Guid | no |
CorrelationId | Guid | no |
EventType | string | no |
EventPayload | string | no |
StateCode | string | no |
CreatedDate | DateTime | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_CMPNSTNG_1 | 400 | COMPENSATING_EVENT_ID_NOT_FOUND |
path Parameters
idforeign-trade-get-compensating-event-by-id › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
No data returned