POST {language}/company/serviceChargeGroup

Request Information

URI Parameters

NameDescriptionTypeAdditional information
language

string

Required

Body Parameters

InsertServiceChargeGroupRequest
NameDescriptionTypeAdditional information
Name

string

None.

CompanyId

globally unique identifier

None.

Country

string

None.

IsActive

boolean

None.

IsSystem

boolean

None.

Remark

string

None.

IsApplySVCWarning

boolean

None.

IsAllocateSVCWarningForEmployeesNoWarning

boolean

None.

IsPayIntoPaymentPeriod

boolean

None.

ContributionParameter

Collection of string

None.

ServiceChargeCalculatedBy

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:
{
  "Name": "sample string 1",
  "CompanyId": "b2e8d1f6-6e83-4f91-8fe9-afcc15141a46",
  "Country": "sample string 3",
  "IsActive": true,
  "IsSystem": true,
  "Remark": "sample string 6",
  "IsApplySVCWarning": true,
  "IsAllocateSVCWarningForEmployeesNoWarning": true,
  "IsPayIntoPaymentPeriod": true,
  "ContributionParameter": [
    "sample string 1",
    "sample string 2"
  ],
  "ServiceChargeCalculatedBy": "sample string 10",
  "RequestId": "bf10b00b-f152-43da-9957-76b528431758",
  "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:
<InsertServiceChargeGroupRequest 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">bf10b00b-f152-43da-9957-76b528431758</RequestId>
  <CompanyId>b2e8d1f6-6e83-4f91-8fe9-afcc15141a46</CompanyId>
  <ContributionParameter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ContributionParameter>
  <Country>sample string 3</Country>
  <IsActive>true</IsActive>
  <IsAllocateSVCWarningForEmployeesNoWarning>true</IsAllocateSVCWarningForEmployeesNoWarning>
  <IsApplySVCWarning>true</IsApplySVCWarning>
  <IsPayIntoPaymentPeriod>true</IsPayIntoPaymentPeriod>
  <IsSystem>true</IsSystem>
  <Name>sample string 1</Name>
  <Remark>sample string 6</Remark>
  <ServiceChargeCalculatedBy>sample string 10</ServiceChargeCalculatedBy>
</InsertServiceChargeGroupRequest>

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.