POST {language}/company/activateLeaveType
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
ActivateLeaveTypeRequestName | Description | Type | Additional information |
---|---|---|---|
CompanyId | globally unique identifier |
None. |
|
LeaveTypeId | globally unique identifier |
None. |
|
IsActive | boolean |
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:
{ "CompanyId": "95d1da77-aed0-4bd0-b58b-b666c4af55eb", "LeaveTypeId": "4aa41d14-6bc1-45f7-8189-c896a1a94f08", "IsActive": true, "RequestId": "415481a0-4a32-4669-947f-5bd711d71219", "Language": "sample string 5", "LanguageLogin": "sample string 6", "AuthToken": "sample string 7", "ClientId": "sample string 8", "PageIndex": 9, "PageSize": 10 }
application/xml, text/xml
Sample:
<ActivateLeaveTypeRequest 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 7</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 5</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 6</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">9</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">10</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">415481a0-4a32-4669-947f-5bd711d71219</RequestId> <CompanyId>95d1da77-aed0-4bd0-b58b-b666c4af55eb</CompanyId> <IsActive>true</IsActive> <LeaveTypeId>4aa41d14-6bc1-45f7-8189-c896a1a94f08</LeaveTypeId> </ActivateLeaveTypeRequest>
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.