POST api/CustomerDetails/InsertCustomerWorkingHours
Request Information
URI Parameters
None.
Body Parameters
Collection of CustomerWorkingHoursJSON| Name | Description | Type | Additional information |
|---|---|---|---|
| Customercode | string |
None. |
|
| FromTime | string |
None. |
|
| ToTime | string |
None. |
|
| DayOfTheWeek | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"customercode": "sample string 1",
"fromTime": "sample string 2",
"toTime": "sample string 3",
"dayOfTheWeek": "sample string 4"
},
{
"customercode": "sample string 1",
"fromTime": "sample string 2",
"toTime": "sample string 3",
"dayOfTheWeek": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerWorkingHoursJSON xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PD_MC.Dtos">
<CustomerWorkingHoursJSON>
<Customercode>sample string 1</Customercode>
<DayOfTheWeek>sample string 4</DayOfTheWeek>
<FromTime>sample string 2</FromTime>
<ToTime>sample string 3</ToTime>
</CustomerWorkingHoursJSON>
<CustomerWorkingHoursJSON>
<Customercode>sample string 1</Customercode>
<DayOfTheWeek>sample string 4</DayOfTheWeek>
<FromTime>sample string 2</FromTime>
<ToTime>sample string 3</ToTime>
</CustomerWorkingHoursJSON>
</ArrayOfCustomerWorkingHoursJSON>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Customercode" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].FromTime" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].ToTime" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].DayOfTheWeek" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Customercode" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].FromTime" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].ToTime" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].DayOfTheWeek" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="" System.Object --MultipartDataMediaFormatterBoundary1q2w3e--