GET api/v1/settlement/getbysettlementid/{settlementId}

Get single settlement with details for specific organizer.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
settlementId

The settlement id

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of settlements

ServerResponseOfSettlementWithDetails
NameDescriptionTypeAdditional information
HttpStatus

integer

None.

Message

string

None.

Data

SettlementWithDetails

None.

Next

string

None.

Previous

string

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatus": 1,
  "Message": "sample string 2",
  "Data": {
    "Settlement": {
      "Id": 1,
      "OrganizerId": 2,
      "GrossAmount": 3.0,
      "NetAmount": 4.0,
      "PayoutDate": "2018-12-19T05:18:31.2044357+01:00",
      "AccountNumber": "sample string 6",
      "SettlementReference": "sample string 7",
      "MatchId": 8,
      "AccountId": 9
    },
    "SettlementDetails": [
      {
        "OrderId": 1,
        "FullName": "sample string 2",
        "EventName": "sample string 3",
        "EventDate": "2018-12-19T05:18:31.2044357+01:00",
        "OrderedDate": "2018-12-19T05:18:31.2044357+01:00",
        "PayoutDate": "2018-12-19T05:18:31.2044357+01:00",
        "Discount": 6.0,
        "DiscountCode": "sample string 7",
        "GrossAmount": 8.0,
        "VatAmount": 1.0,
        "Fee": 9.0,
        "NetAmount": 10.0
      },
      {
        "OrderId": 1,
        "FullName": "sample string 2",
        "EventName": "sample string 3",
        "EventDate": "2018-12-19T05:18:31.2044357+01:00",
        "OrderedDate": "2018-12-19T05:18:31.2044357+01:00",
        "PayoutDate": "2018-12-19T05:18:31.2044357+01:00",
        "Discount": 6.0,
        "DiscountCode": "sample string 7",
        "GrossAmount": 8.0,
        "VatAmount": 1.0,
        "Fee": 9.0,
        "NetAmount": 10.0
      }
    ]
  },
  "Next": "sample string 3",
  "Previous": "sample string 4"
}