POST api/Master/AddToDo
Request Information
URI Parameters
None.
Body Parameters
AddToDo| Name | Description | Type | Additional information |
|---|---|---|---|
| toDoID | integer |
None. |
|
| customerID | integer |
None. |
|
| instrument_SerialNumber | string |
None. |
|
| department_ID | integer |
None. |
|
| todoStatusID | integer |
None. |
|
| todoTitle | string |
None. |
|
| openDate | date |
None. |
|
| closeDate | date |
None. |
|
| state | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"toDoID": 1,
"customerID": 2,
"instrument_SerialNumber": "sample string 3",
"department_ID": 4,
"todoStatusID": 5,
"todoTitle": "sample string 6",
"openDate": "2025-10-26T08:14:52.8762456+00:00",
"closeDate": "2025-10-26T08:14:52.8762456+00:00",
"state": 9
}
application/xml, text/xml
Sample:
<AddToDo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models"> <closeDate>2025-10-26T08:14:52.8762456+00:00</closeDate> <customerID>2</customerID> <department_ID>4</department_ID> <instrument_SerialNumber>sample string 3</instrument_SerialNumber> <openDate>2025-10-26T08:14:52.8762456+00:00</openDate> <state>9</state> <toDoID>1</toDoID> <todoStatusID>5</todoStatusID> <todoTitle>sample string 6</todoTitle> </AddToDo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": 2
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models"> <Message>sample string 1</Message> <Status>2</Status> </Response>