GET | /v1.1/Donations/Get/{id} | ||
---|---|---|---|
GET | /v1.2/Donations/Get/{id} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Status | form | string | No | |
CampaignName | form | string | No | |
CampaignId | form | int | No | |
Date | form | string | No | |
Amount | form | decimal | No | |
CreditCard | form | CreditCardUsed | No | |
Location | form | DonationLocation | No | |
Transaction | form | DonationTransaction | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CardHolderName | form | string | No | |
Icon | form | string | No | |
CaptureSource | form | string | No | |
Last4Digits | form | string | No | |
Type | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Longitude | form | double | No | |
Latitude | form | double | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Status | form | string | No | |
DetailUri | form | string | No | |
CancelUri | form | string | No | |
CreatedBy | form | int | No | |
ClientId | form | int | No | |
GroupId | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1.1/Donations/Get/{id} HTTP/1.1 Host: devapi.billhighway.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Id: 0, Status: String, CampaignName: String, CampaignId: 0, Date: String, Amount: 0, CreditCard: { CardHolderName: String, Icon: String, CaptureSource: String, Last4Digits: String, Type: String }, Location: { Longitude: 0, Latitude: 0 }, Transaction: { Id: 0, Status: String, DetailUri: String, CancelUri: String, CreatedBy: 0, ClientId: 0, GroupId: 0 } }