Create Request

Create Request

Create a new Request

Request
URI
POST
https://apigw.vmware.com/sampleExchange/v1/requests
COPY
Request Body
Request of type(s) application/json
Optional
{
    "id": 0,
    "federationId": "string",
    "communitiesUser": "string",
    "title": "string",
    "request": "string",
    "created": "string",
    "lastUpdated": "string",
    "complete": false,
    "duplicateRequestId": 0,
    "categories": [
        {
            "id": 0,
            "parentId": 0,
            "type": "string",
            "name": "string",
            "version": "string"
        }
    ],
    "tags": [
        {
            "id": 0,
            "parentId": 0,
            "category": "string",
            "name": "string"
        }
    ],
    "solutions": [
        {
            "id": 0,
            "requestId": 0,
            "federationId": "string",
            "communitiesUser": "string",
            "description": "string",
            "comments": [
                {
                    "id": 0,
                    "parentId": 0,
                    "type": "string",
                    "federationId": "string",
                    "communitiesUser": "string",
                    "comment": "string",
                    "created": "string",
                    "lastUpdated": "string"
                }
            ],
            "created": "string",
            "lastUpdated": "string",
            "acceptedSolution": false,
            "linkedSampleId": 0
        }
    ],
    "comments": [
        {
            "id": 0,
            "parentId": 0,
            "type": "string",
            "federationId": "string",
            "communitiesUser": "string",
            "comment": "string",
            "created": "string",
            "lastUpdated": "string"
        }
    ],
    "assignments": [
        {
            "id": 0,
            "requestId": 0,
            "federationId": "string",
            "communitiesUser": "string",
            "created": "string"
        }
    ],
    "state": "string",
    "favoriteCount": 0
}
integer As int32 As int32
id
Optional

id

string
federationId
Optional

federationId

string
communitiesUser
Optional

communitiesUser

string
title
Optional

title

string
request
Optional

request

string As date-time As date-time
created
Optional

created

string As date-time As date-time
lastUpdated
Optional

lastUpdated

boolean
complete
Optional

complete

integer As int32 As int32
duplicateRequestId
Optional

duplicateRequestId

array of Category
categories
Optional

categories

array of Tag
tags
Optional

tags

array of Solution
solutions
Optional

solutions

array of Comment
comments
Optional

comments

assignments
Optional

assignments

string
state
Optional

state

Possible values are : NEW, IN_PROGRESS, COMPLETE,
integer As int32 As int32
favoriteCount
Optional

favoriteCount

Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns Request of type(s) application/json
{
    "id": 0,
    "federationId": "string",
    "communitiesUser": "string",
    "title": "string",
    "request": "string",
    "created": "string",
    "lastUpdated": "string",
    "complete": false,
    "duplicateRequestId": 0,
    "categories": [
        {
            "id": 0,
            "parentId": 0,
            "type": "string",
            "name": "string",
            "version": "string"
        }
    ],
    "tags": [
        {
            "id": 0,
            "parentId": 0,
            "category": "string",
            "name": "string"
        }
    ],
    "solutions": [
        {
            "id": 0,
            "requestId": 0,
            "federationId": "string",
            "communitiesUser": "string",
            "description": "string",
            "comments": [
                {
                    "id": 0,
                    "parentId": 0,
                    "type": "string",
                    "federationId": "string",
                    "communitiesUser": "string",
                    "comment": "string",
                    "created": "string",
                    "lastUpdated": "string"
                }
            ],
            "created": "string",
            "lastUpdated": "string",
            "acceptedSolution": false,
            "linkedSampleId": 0
        }
    ],
    "comments": [
        {
            "id": 0,
            "parentId": 0,
            "type": "string",
            "federationId": "string",
            "communitiesUser": "string",
            "comment": "string",
            "created": "string",
            "lastUpdated": "string"
        }
    ],
    "assignments": [
        {
            "id": 0,
            "requestId": 0,
            "federationId": "string",
            "communitiesUser": "string",
            "created": "string"
        }
    ],
    "state": "string",
    "favoriteCount": 0
}
integer As int32 As int32
id
Optional

id

string
federationId
Optional

federationId

string
communitiesUser
Optional

communitiesUser

string
title
Optional

title

string
request
Optional

request

string As date-time As date-time
created
Optional

created

string As date-time As date-time
lastUpdated
Optional

lastUpdated

boolean
complete
Optional

complete

integer As int32 As int32
duplicateRequestId
Optional

duplicateRequestId

array of Category
categories
Optional

categories

array of Tag
tags
Optional

tags

array of Solution
solutions
Optional

solutions

array of Comment
comments
Optional

comments

assignments
Optional

assignments

string
state
Optional

state

Possible values are : NEW, IN_PROGRESS, COMPLETE,
integer As int32 As int32
favoriteCount
Optional

favoriteCount


400

Bad request, some required data was omitted.

Operation doesn't return any data structure

401

Unauthorized, credentials not supplied or incorrect.

Operation doesn't return any data structure