POST api/Company/DeleteCompanyUser?companyId={companyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
Body Parameters
UserDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyID | integer |
None. |
|
| UserID | string |
None. |
|
| EmployeeID | integer |
None. |
|
| First Name | string |
None. |
|
| Last Name | string |
None. |
|
| Title | string |
None. |
|
| Department | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| PostalCode | string |
None. |
|
| Country | string |
None. |
|
| Phone | string |
None. |
|
| Mobile | string |
None. |
|
| Fax | string |
None. |
|
| Pager | string |
None. |
|
| string |
None. |
||
| UserType | byte |
None. |
|
| Status | byte |
None. |
|
| Note | string |
None. |
|
| UserAccessType | byte |
None. |
|
| LastLogin | date |
None. |
|
| LastLogoff | date |
None. |
|
| PreviousLogin | date |
None. |
|
| Created | date |
None. |
|
| CreatedBy | string |
None. |
|
| Modified | date |
None. |
|
| ModifiedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyID": 1,
"UserID": "sample string 2",
"EmployeeID": 3,
"First Name": "sample string 4",
"Last Name": "sample string 5",
"Title": "sample string 6",
"Department": "sample string 7",
"Address1": "sample string 8",
"Address2": "sample string 9",
"City": "sample string 10",
"State": "sample string 11",
"PostalCode": "sample string 12",
"Country": "sample string 13",
"Phone": "sample string 14",
"Mobile": "sample string 15",
"Fax": "sample string 16",
"Pager": "sample string 17",
"Email": "sample string 18",
"UserType": 64,
"Status": 64,
"Note": "sample string 19",
"UserAccessType": 64,
"LastLogin": "2026-07-01T17:17:42.372747+00:00",
"LastLogoff": "2026-07-01T17:17:42.372747+00:00",
"PreviousLogin": "2026-07-01T17:17:42.372747+00:00",
"Created": "2026-07-01T17:17:42.372747+00:00",
"CreatedBy": "sample string 20",
"Modified": "2026-07-01T17:17:42.372747+00:00",
"ModifiedBy": "sample string 21"
}
application/xml, text/xml
Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DH_Common.Mgt.Core.Company"> <Address1>sample string 8</Address1> <Address2>sample string 9</Address2> <City>sample string 10</City> <CompanyID>1</CompanyID> <Country>sample string 13</Country> <Created>2026-07-01T17:17:42.372747+00:00</Created> <CreatedBy>sample string 20</CreatedBy> <Department>sample string 7</Department> <Email>sample string 18</Email> <EmployeeID>3</EmployeeID> <Fax>sample string 16</Fax> <FirstName>sample string 4</FirstName> <LastLogin>2026-07-01T17:17:42.372747+00:00</LastLogin> <LastLogoff>2026-07-01T17:17:42.372747+00:00</LastLogoff> <LastName>sample string 5</LastName> <Mobile>sample string 15</Mobile> <Modified>2026-07-01T17:17:42.372747+00:00</Modified> <ModifiedBy>sample string 21</ModifiedBy> <Note>sample string 19</Note> <Pager>sample string 17</Pager> <Phone>sample string 14</Phone> <PostalCode>sample string 12</PostalCode> <PreviousLogin>2026-07-01T17:17:42.372747+00:00</PreviousLogin> <State>sample string 11</State> <Status>64</Status> <Title>sample string 6</Title> <UserAccessType>64</UserAccessType> <UserID>sample string 2</UserID> <UserType>64</UserType> </UserDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StandardReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| APIStatus | integer |
None. |
|
| APIErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"APIStatus": 1,
"APIErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<StandardReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DH_Common.Mgt.Core.Dto"> <APIErrorMessage>sample string 2</APIErrorMessage> <APIStatus>1</APIStatus> </StandardReturn>