57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"post": {
|
|
"tags": [
|
|
"SelectOffer"
|
|
],
|
|
"summary": "This method is used the send the offer the customer selected to Simbrella ",
|
|
"description": "This method is used the send the offer the customer selected to Simbrella",
|
|
"operationId": "SelectOffer",
|
|
"requestBody": {
|
|
"description": "Post JSON to conduct eligibility tests",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "../schemas/SelectOfferRequest.json"
|
|
}
|
|
},
|
|
"application/xml": {
|
|
"schema": {
|
|
"$ref": "../schemas/SelectOfferRequest.json"
|
|
}
|
|
},
|
|
"application/x-www-form-urlencoded": {
|
|
"schema": {
|
|
"$ref": "../schemas/SelectOfferRequest.json"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful operation",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "../schemas/SelectOfferResponse.json"
|
|
}
|
|
},
|
|
"application/xml": {
|
|
"schema": {
|
|
"$ref": "../schemas/SelectOfferResponse.json"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Invalid request"
|
|
},
|
|
"422": {
|
|
"description": "Validation exception"
|
|
},
|
|
"500": {
|
|
"description": "Internal server error"
|
|
}
|
|
}
|
|
}
|
|
} |