POST user/UpdateUser
Request Information
URI Parameters
None.
Body Parameters
iAddOrUpdateUserName | Description | Type | Additional information |
---|---|---|---|
userID | globally unique identifier |
None. |
|
companyID | globally unique identifier |
None. |
|
userFirstName | string |
None. |
|
userLastName | string |
None. |
|
userEmail | string |
None. |
|
userTel | string |
None. |
|
userRole | integer |
None. |
|
dateOfBirth | string |
None. |
|
gender | integer |
None. |
|
address1 | string |
None. |
|
address2 | string |
None. |
|
zipCode | string |
None. |
|
country | globally unique identifier |
None. |
|
state | string |
None. |
|
city | string |
None. |
|
userPhoto | string |
None. |
|
status | integer |
None. |
|
createdID | string |
None. |
|
companyName | string |
None. |
|
isCompany | string |
None. |
|
isImageDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "userID": "2ffa67b9-253f-4202-8c6c-4f45c12c0656", "companyID": "518f3d63-4062-463d-8eea-8196ad084bc1", "userFirstName": "sample string 3", "userLastName": "sample string 4", "userEmail": "sample string 5", "userTel": "sample string 6", "userRole": 7, "dateOfBirth": "sample string 8", "gender": 9, "address1": "sample string 10", "address2": "sample string 11", "zipCode": "sample string 12", "country": "b4933baf-b543-4c2b-a9e6-381c190bb85e", "state": "sample string 14", "city": "sample string 15", "userPhoto": "sample string 16", "status": 17, "createdID": "sample string 18", "companyName": "sample string 19", "isCompany": "sample string 20", "isImageDeleted": true }
application/xml, text/xml
Sample:
<iAddOrUpdateUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WNTY_DAT.Model"> <address1>sample string 10</address1> <address2>sample string 11</address2> <city>sample string 15</city> <companyID>518f3d63-4062-463d-8eea-8196ad084bc1</companyID> <companyName>sample string 19</companyName> <country>b4933baf-b543-4c2b-a9e6-381c190bb85e</country> <createdID>sample string 18</createdID> <dateOfBirth>sample string 8</dateOfBirth> <gender>9</gender> <isCompany>sample string 20</isCompany> <isImageDeleted>true</isImageDeleted> <state>sample string 14</state> <status>17</status> <userEmail>sample string 5</userEmail> <userFirstName>sample string 3</userFirstName> <userID>2ffa67b9-253f-4202-8c6c-4f45c12c0656</userID> <userLastName>sample string 4</userLastName> <userPhoto>sample string 16</userPhoto> <userRole>7</userRole> <userTel>sample string 6</userTel> <zipCode>sample string 12</zipCode> </iAddOrUpdateUser>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
oResultName | Description | Type | Additional information |
---|---|---|---|
StatusCode | boolean |
None. |
|
Message | string |
None. |
|
Lang | string |
None. |
|
Records | Collection of Object |
None. |
|
ListingData1 | Collection of Object |
None. |
|
ListingData2 | Collection of Object |
None. |
|
ListingData3 | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": true, "Message": "sample string 2", "Lang": "sample string 3", "Records": [ {}, {} ], "ListingData1": [ {}, {} ], "ListingData2": [ {}, {} ], "ListingData3": [ {}, {} ] }
application/xml, text/xml
Sample:
<oResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WNTY_DAT.Model"> <Lang>sample string 3</Lang> <ListingData1 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData1> <ListingData2 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData2> <ListingData3 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData3> <Message>sample string 2</Message> <Records xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </Records> <StatusCode>true</StatusCode> </oResult>