PUT {language}/company/updateLeaveType
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
UpdateLeaveTypeRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CompanyId | globally unique identifier |
None. |
|
Country | string |
None. |
|
Name | string |
None. |
|
Gender | string |
None. |
|
IsRequiredDocument | boolean |
None. |
|
ManageBalance | boolean |
None. |
|
TotalEntitlement | decimal number |
None. |
|
ManageBalanceType | string |
None. |
|
IsCheckMaximumEntitlement | boolean |
None. |
|
MaximumEntitlement | decimal number |
None. |
|
IsPaidbyCompany | boolean |
None. |
|
LeaveTypeCatalogue | string |
None. |
|
RequestId | globally unique identifier |
None. |
|
Language | string |
None. |
|
LanguageLogin | string |
None. |
|
AuthToken | string |
None. |
|
ClientId | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "d0326cd3-9520-42b4-ad81-4bd2e284650b", "CompanyId": "2040e5d8-6a78-427f-ba42-95292607a497", "Country": "sample string 3", "Name": "sample string 4", "Gender": "sample string 5", "IsRequiredDocument": true, "ManageBalance": true, "TotalEntitlement": 8.1, "ManageBalanceType": "sample string 9", "IsCheckMaximumEntitlement": true, "MaximumEntitlement": 11.1, "IsPaidbyCompany": true, "LeaveTypeCatalogue": "sample string 13", "RequestId": "5604f9d6-dcce-4d1e-b6ae-0d8f10d00c2f", "Language": "sample string 15", "LanguageLogin": "sample string 16", "AuthToken": "sample string 17", "ClientId": "sample string 18", "PageIndex": 19, "PageSize": 20 }
application/xml, text/xml
Sample:
<UpdateLeaveTypeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.Requests"> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 17</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 18</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 15</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 16</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">19</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">20</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">5604f9d6-dcce-4d1e-b6ae-0d8f10d00c2f</RequestId> <CompanyId>2040e5d8-6a78-427f-ba42-95292607a497</CompanyId> <Country>sample string 3</Country> <Gender>sample string 5</Gender> <Id>d0326cd3-9520-42b4-ad81-4bd2e284650b</Id> <IsCheckMaximumEntitlement>true</IsCheckMaximumEntitlement> <IsPaidbyCompany>true</IsPaidbyCompany> <IsRequiredDocument>true</IsRequiredDocument> <LeaveTypeCatalogue>sample string 13</LeaveTypeCatalogue> <ManageBalance>true</ManageBalance> <ManageBalanceType>sample string 9</ManageBalanceType> <MaximumEntitlement>11.1</MaximumEntitlement> <Name>sample string 4</Name> <TotalEntitlement>8.1</TotalEntitlement> </UpdateLeaveTypeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.