POST api/User
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResultOfUser| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | boolean |
None. |
|
| Ok | boolean |
None. |
|
| Errors | Collection of Error |
None. |
|
| Data | User |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": false,
"Ok": true,
"Errors": [
{
"Id": "sample string 1",
"Entity": "sample string 2",
"Message": "sample string 3"
},
{
"Id": "sample string 1",
"Entity": "sample string 2",
"Message": "sample string 3"
}
],
"Data": {
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"EmailAddress": "sample string 4",
"UserName": "sample string 5",
"InstitutionName": "sample string 6",
"Country": "sample string 7",
"CountryCode": "sample string 8",
"StreetAddress": "sample string 9",
"SecondaryAddress": "sample string 10",
"ThirdAddress": "sample string 11",
"City": "sample string 12",
"StateOrProvince": "sample string 13",
"StateOrProvinceCode": "sample string 14",
"ZipPostalCode": "sample string 15",
"Phone": "sample string 16",
"WorkPhone": "sample string 17",
"InstitutionPhone": "sample string 18",
"Type": 0,
"IsPreferredAddress": true,
"IsCommercial": true,
"IsPostOfficeBox": true,
"AddressTypeCode": "sample string 22",
"AddressTypePhone": "sample string 23",
"AddressId": "sample string 24",
"PersonId": "sample string 25",
"Password": "sample string 26",
"UserAuthorityId": 27,
"LanguageCode": "sample string 28"
}
}
application/xml, text/xml
Sample:
<ResultOfUserwnekxRBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/A2.Jbl.Api.Models">
<Data>
<AddressId>sample string 24</AddressId>
<AddressTypeCode>sample string 22</AddressTypeCode>
<AddressTypePhone>sample string 23</AddressTypePhone>
<City>sample string 12</City>
<Country>sample string 7</Country>
<CountryCode>sample string 8</CountryCode>
<EmailAddress>sample string 4</EmailAddress>
<FirstName>sample string 2</FirstName>
<Id>1</Id>
<InstitutionName>sample string 6</InstitutionName>
<InstitutionPhone>sample string 18</InstitutionPhone>
<IsCommercial>true</IsCommercial>
<IsPostOfficeBox>true</IsPostOfficeBox>
<IsPreferredAddress>true</IsPreferredAddress>
<LanguageCode>sample string 28</LanguageCode>
<LastName>sample string 3</LastName>
<Password>sample string 26</Password>
<PersonId>sample string 25</PersonId>
<Phone>sample string 16</Phone>
<SecondaryAddress>sample string 10</SecondaryAddress>
<StateOrProvince>sample string 13</StateOrProvince>
<StateOrProvinceCode>sample string 14</StateOrProvinceCode>
<StreetAddress>sample string 9</StreetAddress>
<ThirdAddress>sample string 11</ThirdAddress>
<Type>Learner</Type>
<UserAuthorityId>27</UserAuthorityId>
<UserName>sample string 5</UserName>
<WorkPhone>sample string 17</WorkPhone>
<ZipPostalCode>sample string 15</ZipPostalCode>
</Data>
<Error>false</Error>
<Errors>
<Error>
<Entity>sample string 2</Entity>
<Id>sample string 1</Id>
<Message>sample string 3</Message>
</Error>
<Error>
<Entity>sample string 2</Entity>
<Id>sample string 1</Id>
<Message>sample string 3</Message>
</Error>
</Errors>
<Ok>true</Ok>
</ResultOfUserwnekxRBL>