POST api/v1/Upload/DownAndUpTreatmentPhotoNoty
Request Information
URI Parameters
None.
Body Parameters
PhotoNoty| Name | Description | Type | Additional information |
|---|---|---|---|
| TreatmentRecordDetailID | integer |
None. |
|
| apiKey | string |
None. |
|
| EmpCode | string |
None. |
|
| photo | Collection of TreatPhoto |
None. |
Request Formats
application/json, text/json
Sample:
{
"photo": [
{
"PhoToUrl": "sample string 1"
},
{
"PhoToUrl": "sample string 1"
}
],
"TreatmentRecordDetailID": 1,
"apiKey": "sample string 1",
"EmpCode": "sample string 2"
}
application/xml, text/xml
Sample:
<UploadController.PhotoNoty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ngocdungApiStoreProc.Controllers">
<EmpCode>sample string 2</EmpCode>
<TreatmentRecordDetailID>1</TreatmentRecordDetailID>
<apiKey>sample string 1</apiKey>
<photo>
<UploadController.TreatPhoto>
<PhoToUrl>sample string 1</PhoToUrl>
</UploadController.TreatPhoto>
<UploadController.TreatPhoto>
<PhoToUrl>sample string 1</PhoToUrl>
</UploadController.TreatPhoto>
</photo>
</UploadController.PhotoNoty>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResonceResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Success | boolean |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Success": true,
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<UploadController.ResonceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ngocdungApiStoreProc.Controllers"> <Data>sample string 3</Data> <Message>sample string 1</Message> <Success>true</Success> </UploadController.ResonceResult>