GET api/User/{UserId}/Grantors
Obtener las empresas del usuario solicitado
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserId |
Identificador del usuario |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseModelApiOfListOfListGrantorsModelApiName | Description | Type | Additional information |
---|---|---|---|
success |
Indica si la solicitud se procesó de manera satisfactoria |
boolean |
None. |
message |
Mensaje de la solicitud |
string |
None. |
messageDetail |
Lista de mensajes |
Collection of string |
None. |
failureCode |
Código de error en caso de existir |
string |
None. |
data |
Layout de respuesta de la solicitud |
Collection of ListGrantorsModelApi |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "message": "sample string 2", "messageDetail": [ "sample string 1", "sample string 2" ], "failureCode": "sample string 3", "data": [ { "GrantorId": "08dd2e4e-3f30-5b41-ba1f-9f167cb487d7", "GrantorTaxId": "sample string 2", "ShortName": "sample string 3", "BussinessName": "sample string 4" }, { "GrantorId": "08dd2e4e-3f30-5b41-ba1f-9f167cb487d7", "GrantorTaxId": "sample string 2", "ShortName": "sample string 3", "BussinessName": "sample string 4" } ] }
application/xml, text/xml
Sample:
<ResponseModelApiOfListOfListGrantorsModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <success>true</success> <message>sample string 2</message> <messageDetail> <string>sample string 1</string> <string>sample string 2</string> </messageDetail> <failureCode>sample string 3</failureCode> <data> <ListGrantorsModelApi> <GrantorId>08dd2e4e-3f30-5b41-ba1f-9f167cb487d7</GrantorId> <GrantorTaxId>sample string 2</GrantorTaxId> <ShortName>sample string 3</ShortName> <BussinessName>sample string 4</BussinessName> </ListGrantorsModelApi> <ListGrantorsModelApi> <GrantorId>08dd2e4e-3f30-5b41-ba1f-9f167cb487d7</GrantorId> <GrantorTaxId>sample string 2</GrantorTaxId> <ShortName>sample string 3</ShortName> <BussinessName>sample string 4</BussinessName> </ListGrantorsModelApi> </data> </ResponseModelApiOfListOfListGrantorsModelApi>