POST api/AddUser
Request Information
URI Parameters
None.
Body Parameters
RequestAddUserFlat| Name | Description | Type | Additional information |
|---|---|---|---|
| RepKey | integer |
None. |
|
| Type | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| Telephone | string |
None. |
|
| Speciality | string |
None. |
|
| OrgID | integer |
None. |
|
| PlatformId | integer |
None. |
|
| DeviceID | string |
None. |
|
| LastUpdateDate | date |
None. |
|
| SessionId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RepKey": 1,
"Type": 2,
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"Telephone": "sample string 6",
"Speciality": "sample string 7",
"OrgID": 8,
"PlatformId": 9,
"DeviceID": "sample string 10",
"LastUpdateDate": "2025-12-28T18:24:49.3510069+01:00",
"SessionId": "sample string 12"
}
application/xml, text/xml
Sample:
<RequestAddUserFlat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.ServiceCenter.API.DTO"> <DeviceID xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.Flat">sample string 10</DeviceID> <LastUpdateDate xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.Flat">2025-12-28T18:24:49.3510069+01:00</LastUpdateDate> <PlatformId xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.Flat">9</PlatformId> <SessionId xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.Flat">sample string 12</SessionId> <Email>sample string 5</Email> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <OrgID>8</OrgID> <RepKey>1</RepKey> <Speciality>sample string 7</Speciality> <Telephone>sample string 6</Telephone> <Type>2</Type> </RequestAddUserFlat>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseInfoFlat| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorNumber | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| ActionResult | boolean |
None. |
|
| ResultMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorNumber": 1,
"ErrorMessage": "sample string 2",
"ActionResult": true,
"ResultMessage": "sample string 4",
"Result": {}
}
application/xml, text/xml
Sample:
<ResponseInfoFlat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.Flat"> <ActionResult>true</ActionResult> <ErrorMessage>sample string 2</ErrorMessage> <ErrorNumber>1</ErrorNumber> <Result /> <ResultMessage>sample string 4</ResultMessage> </ResponseInfoFlat>