POST user/assignment/external

Bulk assignment upload for external

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
ItemId

Required

ItemType

Required

Matching regular expression pattern: ^(Course|FamilyPackage)$

AssignorId

Required

Min length: 1

IntentId

Range: inclusive between 1 and 5

UserIds

Required

Min length: 1

Request Formats

application/json, text/json

Sample:
{
  "ItemId": 1,
  "ItemType": "sample string 2",
  "AssignorId": "sample string 3",
  "IntentId": 4,
  "UserIds": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ExternalAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yorbit.Data.SQLServer.POCO">
  <AssignorId>sample string 3</AssignorId>
  <IntentId>4</IntentId>
  <ItemId>1</ItemId>
  <ItemType>sample string 2</ItemType>
  <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UserIds>
</ExternalAssignment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Version

None.

Content

None.

StatusCode

None.

ReasonPhrase

None.

Headers

None.

RequestMessage

None.

IsSuccessStatusCode

None.