POST api/Comment
Request Information
URI Parameters
None.
Body Parameters
CommentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CommentId | integer |
None. |
|
| CommentForEntity | integer |
None. |
|
| CommentForEntityId | string |
String length: inclusive between 0 and 50 |
|
| CommentType | integer |
None. |
|
| CompanyCode | string |
String length: inclusive between 0 and 20 |
|
| CommentText | string |
String length: inclusive between 0 and 4000 |
|
| ValidFlag | boolean |
None. |
|
| insertUserId | integer |
None. |
|
| insertUserName | string |
String length: inclusive between 0 and 100 |
|
| insertDate | date |
None. |
|
| RelativeDateTime | string |
String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"CommentId": 1,
"CommentForEntity": 2,
"CommentForEntityId": "sample string 3",
"CommentType": 4,
"CompanyCode": "sample string 5",
"CommentText": "sample string 6",
"ValidFlag": true,
"insertUserId": 8,
"insertUserName": "sample string 9",
"insertDate": "2025-10-30T09:56:09.1637465-07:00",
"RelativeDateTime": "sample string 11"
}
application/xml, text/xml
Sample:
<CommentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CommentForEntity>2</CommentForEntity> <CommentForEntityId>sample string 3</CommentForEntityId> <CommentId>1</CommentId> <CommentText>sample string 6</CommentText> <CommentType>4</CommentType> <CompanyCode>sample string 5</CompanyCode> <RelativeDateTime>sample string 11</RelativeDateTime> <ValidFlag>true</ValidFlag> <insertDate>2025-10-30T09:56:09.1637465-07:00</insertDate> <insertUserId>8</insertUserId> <insertUserName>sample string 9</insertUserName> </CommentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfCommentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | CommentDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"CommentId": 1,
"CommentForEntity": 2,
"CommentForEntityId": "sample string 3",
"CommentType": 4,
"CompanyCode": "sample string 5",
"CommentText": "sample string 6",
"ValidFlag": true,
"insertUserId": 8,
"insertUserName": "sample string 9",
"insertDate": "2025-10-30T09:56:09.1793824-07:00",
"RelativeDateTime": "sample string 11"
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfCommentDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<d2p1:CommentForEntity>2</d2p1:CommentForEntity>
<d2p1:CommentForEntityId>sample string 3</d2p1:CommentForEntityId>
<d2p1:CommentId>1</d2p1:CommentId>
<d2p1:CommentText>sample string 6</d2p1:CommentText>
<d2p1:CommentType>4</d2p1:CommentType>
<d2p1:CompanyCode>sample string 5</d2p1:CompanyCode>
<d2p1:RelativeDateTime>sample string 11</d2p1:RelativeDateTime>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:insertDate>2025-10-30T09:56:09.1793824-07:00</d2p1:insertDate>
<d2p1:insertUserId>8</d2p1:insertUserId>
<d2p1:insertUserName>sample string 9</d2p1:insertUserName>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfCommentDTO3NYuOdgi>