Add Comments Using POST 1

Add Comments Using POST 1

Add a comment to a monthly billing order with status PENDING_SP, identified by the order id.

Pre-authorized roles: Operations

Request
URI
POST
https://{api_host}//vcp.vmware.com/api/provider/v1/billingOrders/{orderId}/comments
COPY
Path Parameters
string
orderId
Required

Billing order id

orderId example
f6bc69ec-xxxx-xxxx-xxxx-eeafc4a7e0bb

Request Body

Request to add a comment to a monthly billing order

CommentRequest of type(s) application/json
Required
{
    "comment": "updated by [email protected]"
}
string
comment
Required

comment

Responses
200

OK

Returns BillingOrderCommentDTO of type(s) application/json
{
    "user": {
        "firstName": "Bob",
        "lastName": "Johnson",
        "email": "[email protected]"
    },
    "createdTime": "2023-03-01T08:14:56Z",
    "content": "approved by [email protected]"
}
user
Optional

user

string As date-time As date-time
createdTime
Optional

createdTime

string
content
Optional

content


400

Bad Request

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Billing order not found

Operation doesn't return any data structure