POST {language}/company/insertTimeSheetShiftIntoDictionary

Request Information

URI Parameters

NameDescriptionTypeAdditional information
language

string

Required

Body Parameters

InsertTimeSheetShiftRequest
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CompanyId

globally unique identifier

None.

ShiftColorId

globally unique identifier

None.

Code

string

None.

Name

string

None.

FromTime

date

None.

ToTime

date

None.

HasBreak

boolean

None.

ShiftHours

date

None.

Remark

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": "a48b14c7-a469-4a56-bc5a-acc90e422a3b",
  "CompanyId": "5da74df4-691c-43e1-b0f0-58b1497de4cb",
  "ShiftColorId": "0a98ed8c-789c-4877-b206-f7a3c1ffe54a",
  "Code": "sample string 4",
  "Name": "sample string 5",
  "FromTime": "2025-04-27T15:24:19.3134056+00:00",
  "ToTime": "2025-04-27T15:24:19.3134056+00:00",
  "HasBreak": true,
  "ShiftHours": "2025-04-27T15:24:19.3134056+00:00",
  "Remark": "sample string 10",
  "RequestId": "2b530f69-f089-4da5-8410-eaceb20e2963",
  "Language": "sample string 12",
  "LanguageLogin": "sample string 13",
  "AuthToken": "sample string 14",
  "ClientId": "sample string 15",
  "PageIndex": 16,
  "PageSize": 17
}

application/xml, text/xml

Sample:
<InsertTimeSheetShiftRequest 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 14</AuthToken>
  <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 15</ClientId>
  <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 12</Language>
  <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 13</LanguageLogin>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">16</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">17</PageSize>
  <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">2b530f69-f089-4da5-8410-eaceb20e2963</RequestId>
  <Code>sample string 4</Code>
  <CompanyId>5da74df4-691c-43e1-b0f0-58b1497de4cb</CompanyId>
  <FromTime>2025-04-27T15:24:19.3134056+00:00</FromTime>
  <HasBreak>true</HasBreak>
  <Id>a48b14c7-a469-4a56-bc5a-acc90e422a3b</Id>
  <Name>sample string 5</Name>
  <Remark>sample string 10</Remark>
  <ShiftColorId>0a98ed8c-789c-4877-b206-f7a3c1ffe54a</ShiftColorId>
  <ShiftHours>2025-04-27T15:24:19.3134056+00:00</ShiftHours>
  <ToTime>2025-04-27T15:24:19.3134056+00:00</ToTime>
</InsertTimeSheetShiftRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.