Create Solution

Create Solution

Create a solution for the given request

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

requestId


Request Body
Solution of type(s) application/json
Optional
{
    "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
}
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
description
Optional

description

array of Comment
comments
Optional

comments

string As date-time As date-time
created
Optional

created

string As date-time As date-time
lastUpdated
Optional

lastUpdated

boolean
acceptedSolution
Optional

acceptedSolution

integer As int32 As int32
linkedSampleId
Optional

linkedSampleId

Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns Solution of type(s) application/json
{
    "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
}
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
description
Optional

description

array of Comment
comments
Optional

comments

string As date-time As date-time
created
Optional

created

string As date-time As date-time
lastUpdated
Optional

lastUpdated

boolean
acceptedSolution
Optional

acceptedSolution

integer As int32 As int32
linkedSampleId
Optional

linkedSampleId


400

Bad Request, invalid data was supplied.

Operation doesn't return any data structure

401

Unauthorized, credentials not supplied or incorrect.

Operation doesn't return any data structure

403

Forbidden, Unable to update another users Sample.

Operation doesn't return any data structure

404

The request or sample was not found.

Operation doesn't return any data structure