| Requires any of the roles: | Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileApp | Requires any of the permissions: | ReadData, ReadData |
| POST | /OrderOwnerCards/quote |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OwnerCardTypeIds | body | List<int> | No | |
| IsSubscription | body | bool? | No | |
| DiscountCode | body | string | No | |
| Tenders | body | List<OrderTender> | No | |
| DonationAmount | body | int? | No | |
| PhoneVerificationNumber | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Kind | form | string | No | |
| Code | form | string | No | |
| AmountMinor | form | int? | No | |
| IdempotencyKey | form | string | No | |
| HoldId | form | int? | No | |
| AppliedMinor | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StatusCode | form | int | No | |
| Message | form | string | No | |
| Reason | form | string | No | |
| IsSubscription | form | bool | No | |
| PriceTotal | form | int | No | |
| DiscountAmount | form | int | No | |
| GiftCardAmount | form | int | No | |
| DonationAmount | form | int | No | |
| TransactionFee | form | int | No | |
| ChargedAmount | form | int | No | |
| ChargedAmountMinor | form | int | No | |
| FullyCovered | form | bool | 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.
POST /OrderOwnerCards/quote HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ownerCardTypeIds:
[
0
],
isSubscription: False,
discountCode: String,
tenders:
[
{
kind: String,
code: String,
amountMinor: 0,
idempotencyKey: String,
holdId: 0,
appliedMinor: 0
}
],
donationAmount: 0,
phoneVerificationNumber: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
statusCode: 0,
message: String,
reason: String,
isSubscription: False,
priceTotal: 0,
discountAmount: 0,
giftCardAmount: 0,
donationAmount: 0,
transactionFee: 0,
chargedAmount: 0,
chargedAmountMinor: 0,
fullyCovered: False
}