POST api/SalarySchedule/calsalary?api={api}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

Body Parameters

SalaryScheduleModelAdd
NameDescriptionTypeAdditional information
id

string

None.

idkey

id

string

None.

idpartner

id đối tác

string

None.

idbrandpartner

id chi nhánh

string

None.

thang

Tháng

integer

None.

nam

Năm

integer

None.

tongngaycong

Tổng ngày công trong tháng

decimal number

None.

ngaycong

Ngày công

decimal number

None.

iddepartment

id phòng

string

None.

codedepartment

Mã phòng

string

None.

namedepartment

Tên phòng

string

None.

idhuman

id nhân sự

string

None.

codehuman

Mã nhân sự

string

None.

namehuman

Tên nhân sự

string

None.

luongcung

Lương cứng

decimal number

None.

luongkinhdoanh

Lương kinh doanh

decimal number

None.

phucapdienthoai

Phụ cấp điện thoại

decimal number

None.

phucapdilai

Phụ cấp đi lại

decimal number

None.

phucapantrua

Phụ cấp ăn trưa

decimal number

None.

phucaptrachnhiem

Phụ cấp trách nhiệm

decimal number

None.

phucapkhac

Phụ cấp khác

decimal number

None.

totalbonus

Tổng tiền hoa hồng

decimal number

None.

total

Tổng tiền

decimal number

None.

datecreate

Ngày tạo

integer

None.

idcreate

id người tạo

string

None.

codecreate

mã người tạo

string

None.

namecreate

Tên người tạo

string

None.

editdate

Ngày sửa

integer

None.

idedit

id người sửa

string

None.

codeedit

mã người sửa

string

None.

nameedit

Tên người sửa

string

None.

islock

Khóa dữ liệu

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "idkey": "sample string 2",
  "idpartner": "sample string 3",
  "idbrandpartner": "sample string 4",
  "thang": 5,
  "nam": 6,
  "tongngaycong": 7.1,
  "ngaycong": 8.1,
  "iddepartment": "sample string 9",
  "codedepartment": "sample string 10",
  "namedepartment": "sample string 11",
  "idhuman": "sample string 12",
  "codehuman": "sample string 13",
  "namehuman": "sample string 14",
  "luongcung": 1.1,
  "luongkinhdoanh": 1.1,
  "phucapdienthoai": 1.1,
  "phucapdilai": 1.1,
  "phucapantrua": 1.1,
  "phucaptrachnhiem": 1.1,
  "phucapkhac": 1.1,
  "totalbonus": 1.1,
  "total": 1.1,
  "datecreate": 1,
  "idcreate": "sample string 15",
  "codecreate": "sample string 16",
  "namecreate": "sample string 17",
  "editdate": 1,
  "idedit": "sample string 18",
  "codeedit": "sample string 19",
  "nameedit": "sample string 20",
  "islock": true
}

application/xml, text/xml

Sample:
<SalaryScheduleModelAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Accounting">
  <codecreate>sample string 16</codecreate>
  <codedepartment>sample string 10</codedepartment>
  <codeedit>sample string 19</codeedit>
  <codehuman>sample string 13</codehuman>
  <datecreate>1</datecreate>
  <editdate>1</editdate>
  <id>sample string 1</id>
  <idbrandpartner>sample string 4</idbrandpartner>
  <idcreate>sample string 15</idcreate>
  <iddepartment>sample string 9</iddepartment>
  <idedit>sample string 18</idedit>
  <idhuman>sample string 12</idhuman>
  <idkey>sample string 2</idkey>
  <idpartner>sample string 3</idpartner>
  <islock>true</islock>
  <luongcung>1.1</luongcung>
  <luongkinhdoanh>1.1</luongkinhdoanh>
  <nam>6</nam>
  <namecreate>sample string 17</namecreate>
  <namedepartment>sample string 11</namedepartment>
  <nameedit>sample string 20</nameedit>
  <namehuman>sample string 14</namehuman>
  <ngaycong>8.1</ngaycong>
  <phucapantrua>1.1</phucapantrua>
  <phucapdienthoai>1.1</phucapdienthoai>
  <phucapdilai>1.1</phucapdilai>
  <phucapkhac>1.1</phucapkhac>
  <phucaptrachnhiem>1.1</phucaptrachnhiem>
  <thang>5</thang>
  <tongngaycong>7.1</tongngaycong>
  <total>1.1</total>
  <totalbonus>1.1</totalbonus>
</SalaryScheduleModelAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataInsert
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

id

string

None.

code

string

None.

code1

string

None.

strprint

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "id": "sample string 3",
  "code": "sample string 4",
  "code1": "sample string 5",
  "strprint": "sample string 6"
}

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6"});

application/xml, text/xml

Sample:
<DataInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">
  <code>sample string 4</code>
  <code1>sample string 5</code1>
  <id>sample string 3</id>
  <message>sample string 2</message>
  <status>sample string 1</status>
  <strprint>sample string 6</strprint>
</DataInsert>