GET | /GetHistorial/ |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetHistorial HTTP/1.1
Host: contentapi.ihct.mx
Content-Type: application/xml
Content-Length: length
<GetHistorial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.WSContenido.Actions.Dto">
<dte_fin>String</dte_fin>
<dte_ini>String</dte_ini>
<id_suscripcion>0</id_suscripcion>
<vc_msdn>String</vc_msdn>
</GetHistorial>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetHistorialResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.WSContenido.Actions.Dto"> <Historial xmlns:d2p1="http://schemas.datacontract.org/2004/07/Web.WSContenido.Database"> <d2p1:vw_historialdescargas> <d2p1:_x003C_b_adultos_x003E_k__BackingField>false</d2p1:_x003C_b_adultos_x003E_k__BackingField> <d2p1:_x003C_b_regalias_x003E_k__BackingField>false</d2p1:_x003C_b_regalias_x003E_k__BackingField> <d2p1:_x003C_b_situacion_x003E_k__BackingField>false</d2p1:_x003C_b_situacion_x003E_k__BackingField> <d2p1:_x003C_dte_alta_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_dte_alta_x003E_k__BackingField> <d2p1:_x003C_dte_operacion_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_dte_operacion_x003E_k__BackingField> <d2p1:_x003C_dte_vigenciafin_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_dte_vigenciafin_x003E_k__BackingField> <d2p1:_x003C_dte_vigenciainicio_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_dte_vigenciainicio_x003E_k__BackingField> <d2p1:_x003C_f_costocreditos_x003E_k__BackingField>0</d2p1:_x003C_f_costocreditos_x003E_k__BackingField> <d2p1:_x003C_f_costodemanda_x003E_k__BackingField>0</d2p1:_x003C_f_costodemanda_x003E_k__BackingField> <d2p1:_x003C_id_club_x003E_k__BackingField>0</d2p1:_x003C_id_club_x003E_k__BackingField> <d2p1:_x003C_id_contenido_x003E_k__BackingField>0</d2p1:_x003C_id_contenido_x003E_k__BackingField> <d2p1:_x003C_id_subcategoria_x003E_k__BackingField>0</d2p1:_x003C_id_subcategoria_x003E_k__BackingField> <d2p1:_x003C_id_suscripcion_x003E_k__BackingField>0</d2p1:_x003C_id_suscripcion_x003E_k__BackingField> <d2p1:_x003C_vc_nombrecontenido_x003E_k__BackingField>String</d2p1:_x003C_vc_nombrecontenido_x003E_k__BackingField> <d2p1:_x003C_vc_url_x003E_k__BackingField>String</d2p1:_x003C_vc_url_x003E_k__BackingField> </d2p1:vw_historialdescargas> </Historial> <IdResponse>0</IdResponse> </GetHistorialResponse>