Create Assignment

Create Assignment

Create an assignment for the current user

Request
URI
POST
https://apigw.vmware.com/sampleExchange/v1/requests/assignments/request/{requestId}
COPY
Path Parameters
integer
requestId
Required

requestId

integer
sampleId
Required

sampleId


Request Body
RequestAssignment of type(s) application/json
Optional
{
    "id": 0,
    "requestId": 0,
    "federationId": "string",
    "communitiesUser": "string",
    "created": "string"
}
integer As int32 As int32
id
Optional

id

integer As int32 As int32
requestId
Optional

requestId

string
federationId
Optional

federationId

string
communitiesUser
Optional

communitiesUser

string As date-time As date-time
created
Optional

created

Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns RequestAssignment of type(s) application/json
{
    "id": 0,
    "requestId": 0,
    "federationId": "string",
    "communitiesUser": "string",
    "created": "string"
}
integer As int32 As int32
id
Optional

id

integer As int32 As int32
requestId
Optional

requestId

string
federationId
Optional

federationId

string
communitiesUser
Optional

communitiesUser

string As date-time As date-time
created
Optional

created


401

Unauthorized, credentials not supplied or incorrect.

Operation doesn't return any data structure

404

The specified Request was not found

Operation doesn't return any data structure

409

An assignment for this request from this user already exists

Operation doesn't return any data structure