POST api/v2/giao-pham/lay-theo-ma

Request Information

URI Parameters

None.

Body Parameters

Dictionary of string [key] and Object [value]

Request Formats

application/json, text/json

Sample:
{
  "sample string 1": {},
  "sample string 3": {}
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringanyType>
    <Key>sample string 1</Key>
    <Value />
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>sample string 3</Key>
    <Value />
  </KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObjectOfDM_GiaoPham_View
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

DM_GiaoPham_View

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {
    "id": 1,
    "ma": "sample string 2",
    "ten": "sample string 3",
    "ghiChu": "sample string 4",
    "inUsed": true,
    "createdBy": 6,
    "createdOn": "2025-12-11T20:08:51.2324281+07:00",
    "editedBy": 1,
    "editedOn": "2025-12-11T20:08:51.2324281+07:00"
  }
}

application/xml, text/xml

Sample:
<ResponseObjectOfDM_GiaoPham_Viewpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:CreatedBy>6</d2p1:CreatedBy>
    <d2p1:CreatedOn>2025-12-11T20:08:51.2324281+07:00</d2p1:CreatedOn>
    <d2p1:EditedBy>1</d2p1:EditedBy>
    <d2p1:EditedOn>2025-12-11T20:08:51.2324281+07:00</d2p1:EditedOn>
    <d2p1:GhiChu>sample string 4</d2p1:GhiChu>
    <d2p1:ID>1</d2p1:ID>
    <d2p1:InUsed>true</d2p1:InUsed>
    <d2p1:Ma>sample string 2</d2p1:Ma>
    <d2p1:Ten>sample string 3</d2p1:Ten>
  </Data>
  <Message>sample string 2</Message>
  <Status>true</Status>
</ResponseObjectOfDM_GiaoPham_Viewpv1JTFkd>