ResponseModel
ResponseModel
Case – 1
{
"Message": "The request is invalid.",
"ModelState": {
"currentRequest.FirstName": [
"The FirstName field is required."
],
"currentRequest.EmailAddress": [
"The EmailAddress field is required.",
"The EmailAddress field is not a valid e-mail address."
],
"currentRequest.ServiceType": [
"MoveIn and Switching are the only valid values"
]
}
}
{
"Message": "The request is invalid.",
"ModelState": {
"currentRequest.FirstName": [
"The field FirstName must be a string or array type with a maximum le
ngth of '50'."
]
}
}
Case -2
{
"Message": "Mobile Phone should be formatted as XXXXXXXXXX."
}
Case – 2
{
"Message": "PromoCode:, PROMO was not found."
}
GetRates API
Case - 1
{
"Message": "ZipCode:, xxx did not return any TDSPs."
}
Case – 2
{
"Message": "Either Provider_duns or ZipCode must be supplied."
}
GetRenewalQuote API
Case -1
{
"Message": "AccountNumber:, 1812319999 and BillingZipCode: 77339 did not retu
rn a renewal account."
}
Case – 2
{
"Message": "The request is invalid.",
"ModelState": {
"currentRequest": [
"Required property 'RateID' not found in JSON. Path '', line 7, posit
ion 1."
],
"currentRequest.AccountNumber": [
"The AccountNumber field is required."
],
"currentRequest.BillingZipCode": [
"The BillingZipCode field is required."
]
}
}