Select
Device Insurance
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
organization | path | string | true | Organization name |
body | body | InsuranceCreationRequestDTO | true | Device Insurance DTO request |
Request body - instance of InsuranceCreationRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
documentId | string | false | none |
firstName | string | false | none |
lastName1 | string | false | none |
lastName2 | string | false | none |
msisdn | string | false | none |
address | string | false | none |
string | false | none | |
zipCode | string | false | none |
locality | string | false | none |
province | string | false | none |
language | string | false | none |
sfid | string | false | none |
telcoBrand | string | false | none |
brand | string | false | none |
model | string | false | none |
price | number | false | none |
clientType | string | false | none |
invoicePayment | boolean | false | none |
productType | string | false | none |
imei | string | false | none |
terminalSaleDate | string(date) | false | none |
entity | string | false | none |
officeCode | string | false | none |
dc | string | false | none |
accountNumber | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Order created | InsuranceCreationResponseDTO |
400 | Bad Request | Invalid body supplied | errorResponseDtoDeviceInsurance |
401 | Unauthorized | Unauthorized | errorResponseDtoDeviceInsurance |
403 | Forbidden | Forbidden | errorResponseDtoDeviceInsurance |
404 | Not Found | Data not found | errorResponseDtoDeviceInsurance |
406 | Not Acceptable | Not Acceptable | errorResponseDtoDeviceInsurance |
500 | Internal Server Error | Something was wrong :( | errorResponseDtoDeviceInsurance |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
organization | path | string | true | Organization name |
body | body | InsuranceIssueRequestDTO | true | Device Insurance DTO request |
Request body - instance of InsuranceIssueRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
requestId | string | false | none |
policyNumber | string | false | none |
imei | string | false | none |
msisdn | string | false | none |
document | string | false | none |
subscriptionId | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Order created | InsuranceIssueResponseDTO |
400 | Bad Request | Invalid body supplied | errorResponseDtoDeviceInsurance |
401 | Unauthorized | Unauthorized | errorResponseDtoDeviceInsurance |
403 | Forbidden | Forbidden | errorResponseDtoDeviceInsurance |
404 | Not Found | Data not found | errorResponseDtoDeviceInsurance |
406 | Not Acceptable | Not Acceptable | errorResponseDtoDeviceInsurance |
500 | Internal Server Error | Something was wrong :( | errorResponseDtoDeviceInsurance |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
organization | path | string | true | Organization name |
body | body | InsuranceCancellationRequestDTO | true | Device Insurance DTO request |
Request body - instance of InsuranceCancellationRequestDTO
|
|
Name | Type | Required | Description |
---|---|---|---|
policyNumber | string | false | none |
document | string | false | none |
reason | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Order created | InsuranceCancellationResponseDTO |
400 | Bad Request | Invalid body supplied | errorResponseDtoDeviceInsurance |
401 | Unauthorized | Unauthorized | errorResponseDtoDeviceInsurance |
403 | Forbidden | Forbidden | errorResponseDtoDeviceInsurance |
404 | Not Found | Data not found | errorResponseDtoDeviceInsurance |
406 | Not Acceptable | Not Acceptable | errorResponseDtoDeviceInsurance |
500 | Internal Server Error | Something was wrong :( | errorResponseDtoDeviceInsurance |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
organization | path | string | true | Organization name |
document | query | string | false | Document Id |
phoneNumber | query | string | false | Phone Number |
insuranceNumber | query | string | false | Insurance Number |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Order created | [InsuranceInfoResponseDTO] |
400 | Bad Request | Invalid body supplied | errorResponseDtoDeviceInsurance |
401 | Unauthorized | Unauthorized | errorResponseDtoDeviceInsurance |
403 | Forbidden | Forbidden | errorResponseDtoDeviceInsurance |
404 | Not Found | Data not found | errorResponseDtoDeviceInsurance |
406 | Not Acceptable | Not Acceptable | errorResponseDtoDeviceInsurance |
500 | Internal Server Error | Something was wrong :( | errorResponseDtoDeviceInsurance |
200 - instance of InsuranceInfoResponseDTO
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
certificateNumber | string | false | none |
imei | string | false | none |
brand | NameDTO | false | none |
model | DescriptionDTO | false | none |
phoneNumber | string | false | none |
document | string | false | none |
firstName | string | false | none |
lastName1 | string | false | none |
lastName2 | string | false | none |
address | string | false | none |
number | string | false | none |
city | string | false | none |
zipCode | string | false | none |
policyNumber | string | false | none |
province | string | false | none |
effectiveDate | string(date) | false | none |
string | false | none | |
sold | boolean | false | none |
cancelled | boolean | false | none |
cancellationDate | string(date) | false | none |
serialNumber | string | false | none |
paymentMethod | DescriptionDTO | false | none |
clientType | NameDTO | false | none |
billPayment | boolean | false | none |
withdrawal | boolean | false | none |
withdrawalDate | string(date) | false | none |
emitted | boolean | false | none |
language | NameDTO | false | none |
accident | boolean | false | none |
400 - instance of errorResponseDtoDeviceInsurance
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | false | none |
message | string | false | none |
401 - instance of errorResponseDtoDeviceInsurance
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | false | none |
message | string | false | none |
403 - instance of errorResponseDtoDeviceInsurance
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | false | none |
message | string | false | none |
404 - instance of errorResponseDtoDeviceInsurance
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | false | none |
message | string | false | none |
406 - instance of errorResponseDtoDeviceInsurance
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | false | none |
message | string | false | none |
500 - instance of errorResponseDtoDeviceInsurance
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | false | none |
message | string | false | none |
Endpoints
Provision TV Amazon
Provision TV Netflix
Provision TV HBO
Provision FTTH
Provision Orange TV
Tesamanager
Device Insurance