POST api/Admin/DayScheduleDefaultProperties
Creates a default property for a dayschedule
Request Information
URI Parameters
None.
Body Parameters
CreateDayScheduleDefaultPropertyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DayScheduleId |
Day schedule Id |
integer |
None. |
| CreatedBy |
Created by |
string |
Required |
| Id | integer |
None. |
|
| Key |
Property Key |
string |
Required Max length: 50 |
| Value |
Property value |
string |
Max length: 255 |
Remarks
None.
Example
None.
Request Formats
application/json, text/json
Sample:
{
"DayScheduleId": 1,
"CreatedBy": "sample string 3",
"Id": 4,
"Key": "sample string 5",
"Value": "sample string 6"
}
application/xml, text/xml
Sample:
<CreateDayScheduleDefaultPropertyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.Calendar.Service.DTO"> <Id>4</Id> <Key>sample string 5</Key> <Value>sample string 6</Value> <CreatedBy>sample string 3</CreatedBy> <DayScheduleId>1</DayScheduleId> </CreateDayScheduleDefaultPropertyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Id of created default property
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.