POST api/giayphepkinhdoanh/CapNhatGiayPhepKinhDoanh

Cập nhật giấy phép kinh doanh bên bán hàng trc rồi mới cập nhật bên Hrm

Request Information

URI Parameters

None.

Body Parameters

GiayPhepKinhDoanhModel
NameDescriptionTypeAdditional information
SoGPKDOld

string

None.

SoGPKD

string

None.

NgayCap

string

None.

IdSap

string

None.

IdTTh

string

None.

isActive

string

None.

SoCNCQ

string

None.

IdTThGPKDOld

string

None.

GhiChu

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SoGPKDOld": "sample string 1",
  "SoGPKD": "sample string 2",
  "NgayCap": "sample string 3",
  "IdSap": "sample string 4",
  "IdTTh": "sample string 5",
  "isActive": "sample string 6",
  "SoCNCQ": "sample string 7",
  "IdTThGPKDOld": "sample string 8",
  "GhiChu": "sample string 9"
}

application/xml, text/xml

Sample:
<GiayPhepKinhDoanhModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <GhiChu>sample string 9</GhiChu>
  <IdSap>sample string 4</IdSap>
  <IdTTh>sample string 5</IdTTh>
  <IdTThGPKDOld>sample string 8</IdTThGPKDOld>
  <NgayCap>sample string 3</NgayCap>
  <SoCNCQ>sample string 7</SoCNCQ>
  <SoGPKD>sample string 2</SoGPKD>
  <SoGPKDOld>sample string 1</SoGPKDOld>
  <isActive>sample string 6</isActive>
</GiayPhepKinhDoanhModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfObject
NameDescriptionTypeAdditional information
status

integer

None.

data

Object

None.

page

Object

None.

error

ErrorModel

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "data": {},
  "page": {},
  "error": {
    "message": "sample string 1",
    "code": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<BaseModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <data />
  <error>
    <code>sample string 2</code>
    <message>sample string 1</message>
  </error>
  <page />
  <status>1</status>
</BaseModelOfanyType>