POST corporate-pass/option/save
Request Information
URI Parameters
None.
Body Parameters
CorporatePassOptionVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Company | string |
None. |
|
| HasEmailNotification | boolean |
None. |
|
| IsEmailSentToEmployee | boolean |
None. |
|
| IsEmailSentToAdmin | boolean |
None. |
|
| IsEmailSentToNonAdmin | boolean |
None. |
|
| NonAdminEmails | string |
None. |
|
| HasCollectionReminder | boolean |
None. |
|
| CollectionReminderDay | integer |
None. |
|
| HasReturnReminder | boolean |
None. |
|
| ReturnReminderDay | integer |
None. |
|
| HolidayTemplate | string |
None. |
|
| MaxBookingPerPassYearly | integer |
None. |
|
| MaxBookingPerPassQuarterly | integer |
None. |
|
| IsAllowCancellation | boolean |
None. |
|
| CancellationDayBeforeBookingDate | integer |
None. |
|
| IsEticketBlockedOnPHAndEve | boolean |
None. |
|
| Token | string |
None. |
|
| Id | string |
None. |
|
| IsActive | boolean |
None. |
|
| Search | string |
None. |
|
| CurrentPage | integer |
None. |
|
| TotalPage | integer |
None. |
|
| SizePerPage | integer |
None. |
|
| SortBy | string |
None. |
|
| searchFilter | Collection of ColFilter |
None. |
Request Formats
application/json, text/json
Sample:
{
"Company": "sample string 1",
"HasEmailNotification": true,
"IsEmailSentToEmployee": true,
"IsEmailSentToAdmin": true,
"IsEmailSentToNonAdmin": true,
"NonAdminEmails": "sample string 6",
"HasCollectionReminder": true,
"CollectionReminderDay": 1,
"HasReturnReminder": true,
"ReturnReminderDay": 1,
"HolidayTemplate": "sample string 9",
"MaxBookingPerPassYearly": 1,
"MaxBookingPerPassQuarterly": 1,
"IsAllowCancellation": true,
"CancellationDayBeforeBookingDate": 1,
"IsEticketBlockedOnPHAndEve": true,
"Token": "sample string 12",
"Id": "sample string 13",
"IsActive": true,
"Search": "sample string 15",
"CurrentPage": 16,
"TotalPage": 17,
"SizePerPage": 18,
"SortBy": "sample string 19",
"searchFilter": [
{
"name": "sample string 1",
"val": [
"sample string 1",
"sample string 2"
]
},
{
"name": "sample string 1",
"val": [
"sample string 1",
"sample string 2"
]
}
]
}
application/xml, text/xml
Sample:
<CorporatePassOptionVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BoardRoom.ViewModels">
<Company i:nil="true" />
<CurrentPage>16</CurrentPage>
<Id>sample string 13</Id>
<IsActive>true</IsActive>
<Search>sample string 15</Search>
<SizePerPage>18</SizePerPage>
<SortBy>sample string 19</SortBy>
<Token>sample string 12</Token>
<TotalPage>17</TotalPage>
<searchFilter>
<ColFilter>
<name>sample string 1</name>
<val xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</val>
</ColFilter>
<ColFilter>
<name>sample string 1</name>
<val xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</val>
</ColFilter>
</searchFilter>
<CancellationDayBeforeBookingDate>1</CancellationDayBeforeBookingDate>
<CollectionReminderDay>1</CollectionReminderDay>
<Company>sample string 1</Company>
<HasCollectionReminder>true</HasCollectionReminder>
<HasEmailNotification>true</HasEmailNotification>
<HasReturnReminder>true</HasReturnReminder>
<HolidayTemplate>sample string 9</HolidayTemplate>
<IsAllowCancellation>true</IsAllowCancellation>
<IsEmailSentToAdmin>true</IsEmailSentToAdmin>
<IsEmailSentToEmployee>true</IsEmailSentToEmployee>
<IsEmailSentToNonAdmin>true</IsEmailSentToNonAdmin>
<IsEticketBlockedOnPHAndEve>true</IsEticketBlockedOnPHAndEve>
<MaxBookingPerPassQuarterly>1</MaxBookingPerPassQuarterly>
<MaxBookingPerPassYearly>1</MaxBookingPerPassYearly>
<NonAdminEmails>sample string 6</NonAdminEmails>
<ReturnReminderDay>1</ReturnReminderDay>
</CorporatePassOptionVm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |