POST api/dading/close
Close the specified Dadings
Request Information
URI Parameters
None.
Body Parameters
ReplyDadingBinder| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectBaseId | integer |
None. |
|
| RRIds | Collection of integer |
None. |
|
| ReplyStatus | integer |
None. |
|
| ReplyMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProjectBaseId": 1,
"RRIds": [
1,
2
],
"ReplyStatus": 2,
"ReplyMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<ReplyDadingBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
<ProjectBaseId>1</ProjectBaseId>
<RRIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</RRIds>
<ReplyMessage>sample string 3</ReplyMessage>
<ReplyStatus>2</ReplyStatus>
</ReplyDadingBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Close the specified Dadings
API_Data_IEnumerableOfCloseDadingResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Collection of CloseDadingResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": [
{
"RRId": 1,
"Success": true,
"Reason": "sample string 3"
},
{
"RRId": 1,
"Success": true,
"Reason": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<API_Data_ArrayOfCloseDadingResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
<d2p1:CloseDadingResult>
<Reason xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">sample string 3</Reason>
<Success xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">true</Success>
<d2p1:RRId>1</d2p1:RRId>
</d2p1:CloseDadingResult>
<d2p1:CloseDadingResult>
<Reason xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">sample string 3</Reason>
<Success xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">true</Success>
<d2p1:RRId>1</d2p1:RRId>
</d2p1:CloseDadingResult>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_ArrayOfCloseDadingResult>