POST Api/AgentBudgetApi/createComment

Request Information

URI Parameters

None.

Body Parameters

AgentTMonthlyimeSheet
NameDescriptionTypeAdditional information
Id

integer

None.

AgentId

integer

None.

Year

integer

None.

Month

integer

None.

WorkFlowStatus

globally unique identifier

None.

CreatedBy

integer

None.

CreatedOn

date

None.

UpdatedBy

integer

None.

UpdatedOn

date

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AgentId": 2,
  "Year": 3,
  "Month": 4,
  "WorkFlowStatus": "efd2b0e6-93a4-4de0-bbd1-c21486c8d163",
  "CreatedBy": 5,
  "CreatedOn": "2025-05-25T19:06:41.9950371+04:00",
  "UpdatedBy": 1,
  "UpdatedOn": "2025-05-25T19:06:41.9950371+04:00",
  "IsActive": true,
  "IsDeleted": true,
  "Comment": "sample string 9"
}

text/html, multipart/form-data

Sample:
{"Id":1,"AgentId":2,"Year":3,"Month":4,"WorkFlowStatus":"efd2b0e6-93a4-4de0-bbd1-c21486c8d163","CreatedBy":5,"CreatedOn":"2025-05-25T19:06:41.9950371+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T19:06:41.9950371+04:00","IsActive":true,"IsDeleted":true,"Comment":"sample string 9"}

application/xml, text/xml

Sample:
<AgentTMonthlyimeSheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <AgentId>2</AgentId>
  <Comment>sample string 9</Comment>
  <CreatedBy>5</CreatedBy>
  <CreatedOn>2025-05-25T19:06:41.9950371+04:00</CreatedOn>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Month>4</Month>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedOn>2025-05-25T19:06:41.9950371+04:00</UpdatedOn>
  <WorkFlowStatus>efd2b0e6-93a4-4de0-bbd1-c21486c8d163</WorkFlowStatus>
  <Year>3</Year>
</AgentTMonthlyimeSheet>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AgentTMonthlyimeSheet'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html, multipart/form-data

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>