getComments

get

/ccagent/v1/comments

Get Comments. Gets order comments from the repository by passing orderId and type(set as 'order').

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getComments_response
Type: object
Show Source
Nested Schema : items
Type: array
array of agent comments
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "items":[
        {
            "repositoryId":"100002",
            "comment":"Issue related to billing address",
            "creationDate":"2015-03-25T10:10:02.000Z"
        },
        {
            "repositoryId":"200001",
            "comment":"Issue related to order number o30411 is resolved",
            "creationDate":"2015-05-12T10:10:02.000Z"
        }
    ]
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |28107|Specified order does not exist| |200126|Invalid Input Parameter| |200004|Invalid Order Id|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top