POST api/Chedraui?NumPolUnico={NumPolUnico}&IDetPol={IDetPol}&CodAsegurado={CodAsegurado}

Simulacion de respuesta de SICAS

Request Information

URI Parameters

NameDescriptionTypeAdditional information
NumPolUnico

Numero de poliza unico

string

Required

IDetPol

Id poliza

string

Required

CodAsegurado

Codigo Asegurado

string

Required

Body Parameters

Lista Tickets

Collection of ticket
NameDescriptionTypeAdditional information
ticketID

string

None.

target_account

string

None.

timestamp_purchase

string

None.

consecutivo

string

None.

status

string

None.

txt

string

None.

timestamp_activation

string

None.

timestamp_invoice

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ticketID": "sample string 1",
    "target_account": "sample string 2",
    "timestamp_purchase": "sample string 3",
    "consecutivo": "sample string 4",
    "status": "sample string 5",
    "txt": "sample string 6",
    "timestamp_activation": "sample string 7",
    "timestamp_invoice": "sample string 8"
  },
  {
    "ticketID": "sample string 1",
    "target_account": "sample string 2",
    "timestamp_purchase": "sample string 3",
    "consecutivo": "sample string 4",
    "status": "sample string 5",
    "txt": "sample string 6",
    "timestamp_activation": "sample string 7",
    "timestamp_invoice": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfChedraui.ticket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThonApi.Services">
  <Chedraui.ticket>
    <consecutivo>sample string 4</consecutivo>
    <status>sample string 5</status>
    <target_account>sample string 2</target_account>
    <ticketID>sample string 1</ticketID>
    <timestamp_activation>sample string 7</timestamp_activation>
    <timestamp_invoice>sample string 8</timestamp_invoice>
    <timestamp_purchase>sample string 3</timestamp_purchase>
    <txt>sample string 6</txt>
  </Chedraui.ticket>
  <Chedraui.ticket>
    <consecutivo>sample string 4</consecutivo>
    <status>sample string 5</status>
    <target_account>sample string 2</target_account>
    <ticketID>sample string 1</ticketID>
    <timestamp_activation>sample string 7</timestamp_activation>
    <timestamp_invoice>sample string 8</timestamp_invoice>
    <timestamp_purchase>sample string 3</timestamp_purchase>
    <txt>sample string 6</txt>
  </Chedraui.ticket>
</ArrayOfChedraui.ticket>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

XML con la respuesta de la simulacion

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>