POST api/usruser/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Value | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Value": "sample string 2"
},
{
"Id": 1,
"Value": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
</ArrayOfKeyValue>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UsrUser| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| Name | string |
None. |
|
| NewName | string |
None. |
|
| Password | string |
None. |
|
| SendEmail | boolean |
None. |
|
| Active | boolean |
Required |
|
| string |
None. |
||
| Firstname | string |
None. |
|
| Lastname | string |
None. |
|
| AuthType | integer |
Required |
|
| Custom1 | string |
None. |
|
| Custom2 | string |
None. |
|
| Abbreviation | string |
None. |
|
| Phone | string |
None. |
|
| Mobile | string |
None. |
|
| Fax | string |
None. |
|
| JobTitle | string |
None. |
|
| Branch | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "b70ffe61-503a-409d-a352-771452a325ab",
"Name": "sample string 3",
"NewName": "sample string 4",
"Password": "sample string 5",
"SendEmail": true,
"Active": true,
"Email": "sample string 7",
"Firstname": "sample string 8",
"Lastname": "sample string 9",
"AuthType": 10,
"Custom1": "sample string 11",
"Custom2": "sample string 12",
"Abbreviation": "sample string 13",
"Phone": "sample string 14",
"Mobile": "sample string 15",
"Fax": "sample string 16",
"JobTitle": "sample string 17",
"Branch": "sample string 18"
}
application/xml, text/xml
Sample:
<UsrUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models"> <Abbreviation>sample string 13</Abbreviation> <Active>true</Active> <AuthType>10</AuthType> <Branch>sample string 18</Branch> <Custom1>sample string 11</Custom1> <Custom2>sample string 12</Custom2> <Email>sample string 7</Email> <Fax>sample string 16</Fax> <Firstname>sample string 8</Firstname> <Id>1</Id> <JobTitle>sample string 17</JobTitle> <Lastname>sample string 9</Lastname> <Mobile>sample string 15</Mobile> <Name>sample string 3</Name> <NewName>sample string 4</NewName> <Password>sample string 5</Password> <Phone>sample string 14</Phone> <RowGuid>b70ffe61-503a-409d-a352-771452a325ab</RowGuid> <SendEmail>true</SendEmail> </UsrUser>