POST User/ManageMapping

Request Information

URI Parameters

None.

Body Parameters

UserDataMapping
NameDescriptionTypeAdditional information
LoginKey

integer

None.

LoginType

integer

None.

ownerType

OwnerTypes

None.

UserName

string

None.

userMapping

Collection of UserDataMappingDetail

None.

AssignedKeys

Collection of integer

None.

RecordCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginKey": 1,
  "LoginType": 2,
  "ownerType": 1,
  "UserName": "sample string 3",
  "userMapping": [
    {
      "Web_LoginMappingKey": 1,
      "OwnerType_G43": 2,
      "OwnerKey": 3,
      "LoginTypeDesc": "sample string 4",
      "OwnerTypeDesc": "sample string 5",
      "OwnerKeyDesc": "sample string 6",
      "HasAccess": true
    },
    {
      "Web_LoginMappingKey": 1,
      "OwnerType_G43": 2,
      "OwnerKey": 3,
      "LoginTypeDesc": "sample string 4",
      "OwnerTypeDesc": "sample string 5",
      "OwnerKeyDesc": "sample string 6",
      "HasAccess": true
    }
  ],
  "AssignedKeys": [
    1,
    2
  ],
  "RecordCount": 4
}

application/xml, text/xml

Sample:
<UserDataMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models">
  <AssignedKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </AssignedKeys>
  <LoginKey>1</LoginKey>
  <LoginType>2</LoginType>
  <RecordCount>4</RecordCount>
  <UserName>sample string 3</UserName>
  <ownerType>MBMemberKey</ownerType>
  <userMapping>
    <UserDataMappingDetail>
      <HasAccess>true</HasAccess>
      <LoginTypeDesc>sample string 4</LoginTypeDesc>
      <OwnerKey>3</OwnerKey>
      <OwnerKeyDesc>sample string 6</OwnerKeyDesc>
      <OwnerTypeDesc>sample string 5</OwnerTypeDesc>
      <OwnerType_G43>2</OwnerType_G43>
      <Web_LoginMappingKey>1</Web_LoginMappingKey>
    </UserDataMappingDetail>
    <UserDataMappingDetail>
      <HasAccess>true</HasAccess>
      <LoginTypeDesc>sample string 4</LoginTypeDesc>
      <OwnerKey>3</OwnerKey>
      <OwnerKeyDesc>sample string 6</OwnerKeyDesc>
      <OwnerTypeDesc>sample string 5</OwnerTypeDesc>
      <OwnerType_G43>2</OwnerType_G43>
      <Web_LoginMappingKey>1</Web_LoginMappingKey>
    </UserDataMappingDetail>
  </userMapping>
</UserDataMapping>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserDataMapping'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.