POST api/usr/SetUserProfileEdit
Request Information
URI Parameters
None.
Body Parameters
ProfileEditDTOName | Description | Type | Additional information |
---|---|---|---|
ServiceNumber | string |
None. |
|
PBXUserID | string |
None. |
|
EnterpriseId | string |
None. |
|
UserId | decimal number |
None. |
|
IMAPID | string |
None. |
|
CallingLineFirstName | string |
None. |
|
CallingLineLastName | string |
None. |
|
DialingFirstName | string |
None. |
|
DialingLastName | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Title | string |
None. |
|
Department | GroupDepartmentOption |
None. |
|
Language | OptionDTO |
None. |
|
Timezone | OptionDTO |
None. |
|
NetworkClassOfService | OptionDTO |
None. |
|
string |
None. |
||
AlternatePhone | string |
None. |
|
Location | string |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
City | string |
None. |
|
State | OptionDTO |
None. |
|
Country | string |
None. |
|
Zip | string |
None. |
|
Departments | Collection of GroupDepartmentOption |
None. |
|
Languages | Collection of OptionDTO |
None. |
|
Timezones | Collection of OptionDTO |
None. |
|
States | Collection of OptionDTO |
None. |
|
NetworkClassOfServices | Collection of OptionDTO |
None. |
|
EmulatorUsername | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ServiceNumber": "sample string 1", "PBXUserID": "sample string 2", "EnterpriseId": "sample string 3", "UserId": 4.0, "IMAPID": "sample string 5", "CallingLineFirstName": "sample string 6", "CallingLineLastName": "sample string 7", "DialingFirstName": "sample string 8", "DialingLastName": "sample string 9", "FirstName": "sample string 10", "LastName": "sample string 11", "Title": "sample string 12", "Department": { "ServiceProviderId": "sample string 1", "GroupId": "sample string 2", "Name": "sample string 3" }, "Language": { "ID": "sample string 1", "Name": "sample string 2" }, "Timezone": { "ID": "sample string 1", "Name": "sample string 2" }, "NetworkClassOfService": { "ID": "sample string 1", "Name": "sample string 2" }, "Email": "sample string 13", "AlternatePhone": "sample string 14", "Location": "sample string 15", "Address1": "sample string 16", "Address2": "sample string 17", "City": "sample string 18", "State": { "ID": "sample string 1", "Name": "sample string 2" }, "Country": "sample string 19", "Zip": "sample string 20", "Departments": [ { "ServiceProviderId": "sample string 1", "GroupId": "sample string 2", "Name": "sample string 3" }, { "ServiceProviderId": "sample string 1", "GroupId": "sample string 2", "Name": "sample string 3" } ], "Languages": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ], "Timezones": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ], "States": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ], "NetworkClassOfServices": [ { "ID": "sample string 1", "Name": "sample string 2" }, { "ID": "sample string 1", "Name": "sample string 2" } ], "EmulatorUsername": "sample string 21" }
application/xml, text/xml
Sample:
<ProfileEditDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO"> <Address1>sample string 16</Address1> <Address2>sample string 17</Address2> <AlternatePhone>sample string 14</AlternatePhone> <CallingLineFirstName>sample string 6</CallingLineFirstName> <CallingLineLastName>sample string 7</CallingLineLastName> <City>sample string 18</City> <Country>sample string 19</Country> <Department> <GroupId>sample string 2</GroupId> <Name>sample string 3</Name> <ServiceProviderId>sample string 1</ServiceProviderId> </Department> <Departments> <GroupDepartmentOption> <GroupId>sample string 2</GroupId> <Name>sample string 3</Name> <ServiceProviderId>sample string 1</ServiceProviderId> </GroupDepartmentOption> <GroupDepartmentOption> <GroupId>sample string 2</GroupId> <Name>sample string 3</Name> <ServiceProviderId>sample string 1</ServiceProviderId> </GroupDepartmentOption> </Departments> <DialingFirstName>sample string 8</DialingFirstName> <DialingLastName>sample string 9</DialingLastName> <Email>sample string 13</Email> <EmulatorUsername>sample string 21</EmulatorUsername> <EnterpriseId>sample string 3</EnterpriseId> <FirstName>sample string 10</FirstName> <IMAPID>sample string 5</IMAPID> <Language> <ID>sample string 1</ID> <Name>sample string 2</Name> </Language> <Languages> <OptionDTO> <ID>sample string 1</ID> <Name>sample string 2</Name> </OptionDTO> <OptionDTO> <ID>sample string 1</ID> <Name>sample string 2</Name> </OptionDTO> </Languages> <LastName>sample string 11</LastName> <Location>sample string 15</Location> <NetworkClassOfService> <ID>sample string 1</ID> <Name>sample string 2</Name> </NetworkClassOfService> <NetworkClassOfServices> <OptionDTO> <ID>sample string 1</ID> <Name>sample string 2</Name> </OptionDTO> <OptionDTO> <ID>sample string 1</ID> <Name>sample string 2</Name> </OptionDTO> </NetworkClassOfServices> <PBXUserID>sample string 2</PBXUserID> <ServiceNumber>sample string 1</ServiceNumber> <State> <ID>sample string 1</ID> <Name>sample string 2</Name> </State> <States> <OptionDTO> <ID>sample string 1</ID> <Name>sample string 2</Name> </OptionDTO> <OptionDTO> <ID>sample string 1</ID> <Name>sample string 2</Name> </OptionDTO> </States> <Timezone> <ID>sample string 1</ID> <Name>sample string 2</Name> </Timezone> <Timezones> <OptionDTO> <ID>sample string 1</ID> <Name>sample string 2</Name> </OptionDTO> <OptionDTO> <ID>sample string 1</ID> <Name>sample string 2</Name> </OptionDTO> </Timezones> <Title>sample string 12</Title> <UserId>4</UserId> <Zip>sample string 20</Zip> </ProfileEditDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |