GET api/User/{GrantorTaxId}?Email={Email}
Obtener usuario por empresa
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
GrantorTaxId |
RFC de la empresa |
string |
Required |
Idntificador único del usuario (correo electrónico) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Layout con la información general del usuario
ResponseModelApiOfUserResponseModelApiName | 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 |
UserResponseModelApi |
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": { "Email": "sample string 1", "Name1": "sample string 2", "Name2": "sample string 3", "Surname1": "sample string 4", "Surname2": "sample string 5", "Cellphone": "sample string 6", "Phone": "sample string 7", "Seller": true, "Grantors": [ { "GrantorTaxId": "sample string 1", "BusinessName": "sample string 2", "ShortName": "sample string 3", "CustomerTypeName": "sample string 4", "Role": 0 }, { "GrantorTaxId": "sample string 1", "BusinessName": "sample string 2", "ShortName": "sample string 3", "CustomerTypeName": "sample string 4", "Role": 0 } ] } }
application/xml, text/xml
Sample:
<ResponseModelApiOfUserResponseModelApi 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> <Email>sample string 1</Email> <Name1>sample string 2</Name1> <Name2>sample string 3</Name2> <Surname1>sample string 4</Surname1> <Surname2>sample string 5</Surname2> <Cellphone>sample string 6</Cellphone> <Phone>sample string 7</Phone> <Seller>true</Seller> <Grantors> <UserGrantorsModelApi> <GrantorTaxId>sample string 1</GrantorTaxId> <BusinessName>sample string 2</BusinessName> <ShortName>sample string 3</ShortName> <CustomerTypeName>sample string 4</CustomerTypeName> <Role>Other</Role> </UserGrantorsModelApi> <UserGrantorsModelApi> <GrantorTaxId>sample string 1</GrantorTaxId> <BusinessName>sample string 2</BusinessName> <ShortName>sample string 3</ShortName> <CustomerTypeName>sample string 4</CustomerTypeName> <Role>Other</Role> </UserGrantorsModelApi> </Grantors> </data> </ResponseModelApiOfUserResponseModelApi>