POST api/support/v1/company/user

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
Email

string

None.

Name1

string

None.

Name2

string

None.

Surname1

string

None.

Surname2

string

None.

Role

Role

None.

GrantorTaxId

string

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Name1": "sample string 2",
  "Name2": "sample string 3",
  "Surname1": "sample string 4",
  "Surname2": "sample string 5",
  "Role": 0,
  "GrantorTaxId": "sample string 6",
  "Phone": "sample string 7"
}

application/xml, text/xml

Sample:
<UserModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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>
  <Role>Other</Role>
  <GrantorTaxId>sample string 6</GrantorTaxId>
  <Phone>sample string 7</Phone>
</UserModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserModel'.

Response Information

Resource Description

ResponseModelApiOfBoolean
NameDescriptionTypeAdditional 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

boolean

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": true
}

application/xml, text/xml

Sample:
<ResponseModelApiOfBoolean 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>true</data>
</ResponseModelApiOfBoolean>