POST api/Reporting/SendExtraHours
Request Information
URI Parameters
None.
Body Parameters
ParamsSendExtraHours| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| key | string |
None. |
|
| aHourData | Collection of aHour |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"key": "sample string 2",
"aHourData": [
{
"id_agreement_day": 1,
"nn_extra_hour": "sample string 2"
},
{
"id_agreement_day": 1,
"nn_extra_hour": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<ParamsSendExtraHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSReportix.Models">
<aHourData>
<aHour>
<id_agreement_day>1</id_agreement_day>
<nn_extra_hour>sample string 2</nn_extra_hour>
</aHour>
<aHour>
<id_agreement_day>1</id_agreement_day>
<nn_extra_hour>sample string 2</nn_extra_hour>
</aHour>
</aHourData>
<key>sample string 2</key>
<token>sample string 1</token>
</ParamsSendExtraHours>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>