AbodeONE

<back to all web services

CalculateCharges

Requires Authentication
CalculateCharges Parameters:
NameParameterData TypeRequiredDescription
GuestPayeeIdsqueryList<int>No
ChaperonePayeeIdsqueryList<int>No
CalculateChargesResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformStripeDataHelperNo
ResponseStatusformResponseStatusNo
StripeDataHelper Parameters:
NameParameterData TypeRequiredDescription
AuthorizerRoleformstringNo
AuthorizerIdformintNo
GuestPayeeIdsformList<int>No
ChaperonePayeeIdsformList<int>No
GuestPayeeIdsValidatedformList<int>No
ChaperonePayeeIdsValidatedformList<int>No
AmountPerPayeeformdecimalNo
TotalAmountDecimalformdecimalNo
TotalAmountIntformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/CalculateCharges HTTP/1.1 
Host: api.lsu.abodehms.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	guestPayeeIds: 
	[
		0
	],
	chaperonePayeeIds: 
	[
		0
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}