GET api/payouts/{id}
Get a list of payouts.
Request Information
URI Parameters
Query String:
Name | Description | Type | Additional information |
---|---|---|---|
id |
ID of the payout. Optional. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
[HTTP Status 200 - OK] A set of payouts.
Type: PayoutSet
Name | Description | Type | Additional information |
---|---|---|---|
payouts | Collection of Payout |
None. |
|
offset |
Starting index (0 based) of the elements in the set. |
integer |
None. |
total |
Total number of elements in the set. |
integer |
None. |
message |
The message provides more information about the results of the client's request. Review this field for error information. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "offset": 1, "total": 2, "message": "sample string 3", "payouts": [ { "id": "f41df065-b0c4-4ae1-92cc-fb370011bf11", "description": "sample string 2", "payoutType": "sample string 3", "payoutPrograms": [ { "programId": "6f5ed97a-e571-4362-a9f3-19a3719caec9", "programName": "sample string 2" }, { "programId": "6f5ed97a-e571-4362-a9f3-19a3719caec9", "programName": "sample string 2" } ] }, { "id": "f41df065-b0c4-4ae1-92cc-fb370011bf11", "description": "sample string 2", "payoutType": "sample string 3", "payoutPrograms": [ { "programId": "6f5ed97a-e571-4362-a9f3-19a3719caec9", "programName": "sample string 2" }, { "programId": "6f5ed97a-e571-4362-a9f3-19a3719caec9", "programName": "sample string 2" } ] } ] }
application/xml, text/xml
Sample:
<PayoutSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <offset>1</offset> <total>2</total> <message>sample string 3</message> <payouts> <payout> <id>f41df065-b0c4-4ae1-92cc-fb370011bf11</id> <description>sample string 2</description> <payoutType>sample string 3</payoutType> <payoutPrograms> <payoutProgram> <programId>6f5ed97a-e571-4362-a9f3-19a3719caec9</programId> <programName>sample string 2</programName> </payoutProgram> <payoutProgram> <programId>6f5ed97a-e571-4362-a9f3-19a3719caec9</programId> <programName>sample string 2</programName> </payoutProgram> </payoutPrograms> </payout> <payout> <id>f41df065-b0c4-4ae1-92cc-fb370011bf11</id> <description>sample string 2</description> <payoutType>sample string 3</payoutType> <payoutPrograms> <payoutProgram> <programId>6f5ed97a-e571-4362-a9f3-19a3719caec9</programId> <programName>sample string 2</programName> </payoutProgram> <payoutProgram> <programId>6f5ed97a-e571-4362-a9f3-19a3719caec9</programId> <programName>sample string 2</programName> </payoutProgram> </payoutPrograms> </payout> </payouts> </PayoutSet>