POST api/ChuQuyenSap/TaoChuQuyenSap

Tạo mới chủ quyền chợ

Request Information

URI Parameters

None.

Body Parameters

ChuQuyenSapModel
NameDescriptionTypeAdditional information
SoCNCQOld

string

None.

SoCNCQ

string

None.

NgayCap

string

None.

ThoiHan

string

None.

IdSap

string

None.

IdTTh

string

None.

isActive

string

None.

IdTThCNCQOld

string

None.

IsCompany

boolean

None.

MaSoThue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SoCNCQOld": "sample string 1",
  "SoCNCQ": "sample string 2",
  "NgayCap": "sample string 3",
  "ThoiHan": "sample string 4",
  "IdSap": "sample string 5",
  "IdTTh": "sample string 6",
  "isActive": "sample string 7",
  "IdTThCNCQOld": "sample string 8",
  "IsCompany": true,
  "MaSoThue": "sample string 10"
}

application/xml, text/xml

Sample:
<ChuQuyenSapModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <IdSap>sample string 5</IdSap>
  <IdTTh>sample string 6</IdTTh>
  <IdTThCNCQOld>sample string 8</IdTThCNCQOld>
  <IsCompany>true</IsCompany>
  <MaSoThue>sample string 10</MaSoThue>
  <NgayCap>sample string 3</NgayCap>
  <SoCNCQ>sample string 2</SoCNCQ>
  <SoCNCQOld>sample string 1</SoCNCQOld>
  <ThoiHan>sample string 4</ThoiHan>
  <isActive>sample string 7</isActive>
</ChuQuyenSapModel>

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>