GET api/TiposId/{IdPais}
Método que retorna los tipos de identificacion parametrizados
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
IdPais | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DataResponseOfTipoIdentificacionName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Message | string |
None. |
|
Results | Collection of TipoIdentificacion |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 1, "Message": "sample string 2", "Results": [ { "IdTipoIdentificacion": 1, "nombreTipoIdentificacion": "sample string 2" }, { "IdTipoIdentificacion": 1, "nombreTipoIdentificacion": "sample string 2" } ] }
text/html
Sample:
{"Code":1,"Message":"sample string 2","Results":[{"IdTipoIdentificacion":1,"nombreTipoIdentificacion":"sample string 2"},{"IdTipoIdentificacion":1,"nombreTipoIdentificacion":"sample string 2"}]}
application/xml, text/xml
Sample:
<DataResponseOfTipoIdentificacion2GDfb1Xv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_Backend.Common.ModelExtensions"> <Code>1</Code> <Message>sample string 2</Message> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/ShipmentTracking.ApiRest.Models"> <d2p1:TipoIdentificacion> <d2p1:IdTipoIdentificacion>1</d2p1:IdTipoIdentificacion> <d2p1:nombreTipoIdentificacion>sample string 2</d2p1:nombreTipoIdentificacion> </d2p1:TipoIdentificacion> <d2p1:TipoIdentificacion> <d2p1:IdTipoIdentificacion>1</d2p1:IdTipoIdentificacion> <d2p1:nombreTipoIdentificacion>sample string 2</d2p1:nombreTipoIdentificacion> </d2p1:TipoIdentificacion> </Results> </DataResponseOfTipoIdentificacion2GDfb1Xv>