All Verbs | /notify/frontend/ |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcceptedSlipId | query | string | No | |
ErrorInfo | query | ErrorInfo | No | |
ConfirmationInfo | query | ConfirmationInfo | No | |
SlipCancellationId | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Origin | form | Origin | No | |
ErrorCode | form | string | No | |
ErrorDescription | form | string | No | |
Payload | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Application | form | BettingApp | No | |
IP | form | string | No | |
Organization | form | Reference | No | |
Device | form | Reference | No | |
Location | form | Reference | No | |
LocationGroup | form | Reference | No | |
Clerk | form | Reference | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Version | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Origin | form | Origin | No | |
ConfirmationCode | form | string | No | |
ConfirmationDescription | form | string | No | |
Payload | form | Dictionary<string, string> | 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 /notify/frontend/ HTTP/1.1
Host: api.mozzart.ath.cx
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
acceptedSlipId: String,
errorInfo:
{
origin:
{
application:
{
name: String,
version: String
},
ip: String,
organization:
{
id: String,
value: String
},
device:
{
id: String,
value: String
},
location:
{
id: String,
value: String
},
locationGroup:
{
id: String,
value: String
},
clerk:
{
id: String,
value: String
}
},
errorCode: String,
errorDescription: String,
payload:
{
String: String
}
},
confirmationInfo:
{
origin:
{
application:
{
name: String,
version: String
},
ip: String,
organization:
{
id: String,
value: String
},
device:
{
id: String,
value: String
},
location:
{
id: String,
value: String
},
locationGroup:
{
id: String,
value: String
},
clerk:
{
id: String,
value: String
}
},
confirmationCode: String,
confirmationDescription: String,
payload:
{
String: String
}
},
slipCancellationId: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } }