PUT api/Gerente/VincularUsuario
Request Information
URI Parameters
None.
Body Parameters
UsuarioDto| Name | Description | Type | Additional information |
|---|---|---|---|
| nome | string |
None. |
|
| status | string |
None. |
|
| photoUrl | string |
None. |
|
| rolesList | Collection of piLookupModelOfString |
None. |
|
| string |
None. |
||
| senha | string |
Data type: Password String length: inclusive between 8 and 100 |
|
| telefone | string |
None. |
|
| key | integer |
None. |
|
| id | integer |
None. |
|
| isNew | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"nome": "sample string 1",
"status": "sample string 2",
"photoUrl": "sample string 3",
"rolesList": [
{
"value": "sample string 1",
"text": "sample string 2",
"group": "sample string 3"
},
{
"value": "sample string 1",
"text": "sample string 2",
"group": "sample string 3"
}
],
"email": "sample string 4",
"senha": "sample string 5",
"telefone": "6",
"key": 7,
"id": 7,
"isNew": true
}
application/xml, text/xml
Sample:
<UsuarioDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Linkcards.Webapi.Models.Tenant">
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">7</key>
<email>sample string 4</email>
<nome>sample string 1</nome>
<photoUrl>sample string 3</photoUrl>
<rolesList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models.Pesquisa">
<d2p1:piLookupModelOfstring>
<d2p1:group>sample string 3</d2p1:group>
<d2p1:text>sample string 2</d2p1:text>
<d2p1:value>sample string 1</d2p1:value>
</d2p1:piLookupModelOfstring>
<d2p1:piLookupModelOfstring>
<d2p1:group>sample string 3</d2p1:group>
<d2p1:text>sample string 2</d2p1:text>
<d2p1:value>sample string 1</d2p1:value>
</d2p1:piLookupModelOfstring>
</rolesList>
<senha>sample string 5</senha>
<status>sample string 2</status>
<telefone>6</telefone>
</UsuarioDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.