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": "67941f57-78e8-46eb-b836-f6a54300dbb0", "LeaveTypeId": "6cf54ac8-fa66-48d3-97a8-03fafa387929", "IsActive": true, "RequestId": "f7241d3d-f103-42bc-aa12-55b059a8674e", "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">f7241d3d-f103-42bc-aa12-55b059a8674e</RequestId> <CompanyId>67941f57-78e8-46eb-b836-f6a54300dbb0</CompanyId> <IsActive>true</IsActive> <LeaveTypeId>6cf54ac8-fa66-48d3-97a8-03fafa387929</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.