POST api/admin/UpdateAzureADUser

Request Information

URI Parameters

None.

Body Parameters

ADUser
NameDescriptionTypeAdditional information
EnterpriseId

integer

None.

LocationId

integer

None.

UserId

decimal number

None.

CustomerProductId

integer

None.

PackageName

string

None.

AzureObjectId

string

None.

UserPrincipalName

string

None.

DisplayName

string

None.

AccountEnabled

boolean

None.

Country

string

None.

City

string

None.

State

string

None.

PostalCode

string

None.

StreetAddress

string

None.

CompanyName

string

None.

Department

string

None.

FacsimileTelephoneNumber

string

None.

GivenName

string

None.

Surname

string

None.

Mail

string

None.

MailNickName

string

None.

Mobile

string

None.

OtherMails

string

None.

TelephoneNumber

string

None.

IsDeleted

boolean

None.

Phone

string

None.

LocationName

string

None.

AddedDate

date

None.

UnAssignMSPUser

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EnterpriseId": 1,
  "LocationId": 1,
  "UserId": 1.0,
  "CustomerProductId": 1,
  "PackageName": "sample string 2",
  "AzureObjectId": "sample string 3",
  "UserPrincipalName": "sample string 4",
  "DisplayName": "sample string 5",
  "AccountEnabled": true,
  "Country": "sample string 7",
  "City": "sample string 8",
  "State": "sample string 9",
  "PostalCode": "sample string 10",
  "StreetAddress": "sample string 11",
  "CompanyName": "sample string 12",
  "Department": "sample string 13",
  "FacsimileTelephoneNumber": "sample string 14",
  "GivenName": "sample string 15",
  "Surname": "sample string 16",
  "Mail": "sample string 17",
  "MailNickName": "sample string 18",
  "Mobile": "sample string 19",
  "OtherMails": "sample string 20",
  "TelephoneNumber": "sample string 21",
  "IsDeleted": true,
  "Phone": "sample string 23",
  "LocationName": "sample string 24",
  "AddedDate": "2024-11-21T05:15:37.8729244-05:00",
  "UnAssignMSPUser": true
}

application/xml, text/xml

Sample:
<ADUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.ADSync">
  <AccountEnabled>true</AccountEnabled>
  <AddedDate>2024-11-21T05:15:37.8729244-05:00</AddedDate>
  <AzureObjectId>sample string 3</AzureObjectId>
  <City>sample string 8</City>
  <CompanyName>sample string 12</CompanyName>
  <Country>sample string 7</Country>
  <CustomerProductId>1</CustomerProductId>
  <Department>sample string 13</Department>
  <DisplayName>sample string 5</DisplayName>
  <EnterpriseId>1</EnterpriseId>
  <FacsimileTelephoneNumber>sample string 14</FacsimileTelephoneNumber>
  <GivenName>sample string 15</GivenName>
  <IsDeleted>true</IsDeleted>
  <LocationId>1</LocationId>
  <LocationName>sample string 24</LocationName>
  <Mail>sample string 17</Mail>
  <MailNickName>sample string 18</MailNickName>
  <Mobile>sample string 19</Mobile>
  <OtherMails>sample string 20</OtherMails>
  <PackageName>sample string 2</PackageName>
  <Phone>sample string 23</Phone>
  <PostalCode>sample string 10</PostalCode>
  <State>sample string 9</State>
  <StreetAddress>sample string 11</StreetAddress>
  <Surname>sample string 16</Surname>
  <TelephoneNumber>sample string 21</TelephoneNumber>
  <UnAssignMSPUser>true</UnAssignMSPUser>
  <UserId>1</UserId>
  <UserPrincipalName>sample string 4</UserPrincipalName>
</ADUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.