NAV

getUser

GET /v2/user/get

Use this call to obtain information about a previously created User. This calls comes in handy if you need to validate a use previously created in SimplePin.

Parameters
Name
Description
user_code string (required)

To obtain information about the company's user you have to pass a unique user code to this API call.

Response Messages
Code
Description
200
OK
401
Unauthorized
403
Forbidden
404
Not Found
             {
    "account_title": "string",
    "address": {
        "id": 0,
        "zip": "string",
        "city": "string",
        "country": 0,
        "province": 0,
        "address": "string",
        "selected": true
    },
    "creation_date": "yyyy-MM-dd'T'HH:mm:ss.SSSXXX",
    "date_of_birth": "yyyy-MM-dd'T'HH:mm:ss.SSSXXX",
    "email": "string",
    "first_name": "string",
    "last_name": "string",
    "logo_url": "string",
    "owner_ship": 1.01,
    "phone": "string",
    "role": "ACCOUNT_OWNER",
    "ssn": "string",
    "state": "ACTIVE",
    "user_code": "string"
}
             
          
{ } UserResponseV2Model
account_title optional string
address optional AddressApiV2Model
creation_date optional string
date_of_birth optional string
email optional string
first_name optional string
last_name optional string
logo_url optional string
owner_ship optional number
phone optional string
role optional string
ssn optional string
state optional string
user_code optional string
{ } AddressApiV2Model
id optional integer
zip optional string
city optional string
country optional integer
province optional integer
address optional string
selected optional boolean
             <user_response_model>
  <account_title>string</account_title>
  <address/>
  <creation_date>yyyy-MM-dd'T'HH:mm:ss.SSSXXX</creation_date>
  <date_of_birth>yyyy-MM-dd'T'HH:mm:ss.SSSXXX</date_of_birth>
  <email>string</email>
  <first_name>string</first_name>
  <last_name>string</last_name>
  <logo_url>string</logo_url>
  <owner_ship>1.01</owner_ship>
  <phone>string</phone>
  <role>ACCOUNT_OWNER</role>
  <ssn>string</ssn>
  <state>ACTIVE</state>
  <user_code>string</user_code>
</user_response_model>

             
          
{ } UserResponseV2Model
account_title optional string
address optional AddressApiV2Model
creation_date optional string
date_of_birth optional string
email optional string
first_name optional string
last_name optional string
logo_url optional string
owner_ship optional number
phone optional string
role optional string
ssn optional string
state optional string
user_code optional string
{ } AddressApiV2Model
id optional integer
zip optional string
city optional string
country optional integer
province optional integer
address optional string
selected optional boolean