POST api/DatXe/addMaDatXeSangLaiXe
Request Information
URI Parameters
None.
Body Parameters
clsInputDatXeLaiXeName | Description | Type | Additional information |
---|---|---|---|
obj | dat_xe_lai_xe |
None. |
|
Token | string |
None. |
|
xacNhan | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "obj": { "id": 1, "ma_dat_xe": 2, "ma_lai_xe": 3, "trong_luong_nhan": 4.0, "so_kien_nhan": 5, "ten_lai_xe": "sample string 6", "bien_so_xe": "sample string 7", "dien_thoai_lai_xe": "sample string 8", "is_lai_xe_chap_nhan": 9, "is_ttgd_xac_nhan_giao_hang": 10, "ngay_lai_xe_chap_nhan": "2025-07-23T02:25:05.8390597+07:00", "ngay_ttgd_xac_nhan_giao_hang": "2025-07-23T02:25:05.8390597+07:00", "ma_nguoi_dieu_xe": "sample string 11", "ten_nguoi_dieu_xe": "sample string 12", "ngay_dieu_xe": "2025-07-23T02:25:05.8390597+07:00", "ngay_sua": "2025-07-23T02:25:05.8390597+07:00", "ma_don_vi_dieu_xe": "sample string 14", "ten_don_vi_dieu_xe": "sample string 15", "ma_don_vi_lai_xe": "sample string 16", "ten_don_vi_lai_xe": "sample string 17", "ma_lai_xe_Van_hanh": "sample string 18", "thoi_gian_xe_den_du_kien": "sample string 19" }, "Token": "sample string 1", "xacNhan": "sample string 2" }
application/xml, text/xml
Sample:
<clsInputDatXeLaiXe xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pfcExtraClass.API.datXeLaiXe.Model"> <Token>sample string 1</Token> <obj xmlns:d2p1="http://schemas.datacontract.org/2004/07/newpostModel"> <d2p1:bien_so_xe>sample string 7</d2p1:bien_so_xe> <d2p1:dien_thoai_lai_xe>sample string 8</d2p1:dien_thoai_lai_xe> <d2p1:id>1</d2p1:id> <d2p1:is_lai_xe_chap_nhan>9</d2p1:is_lai_xe_chap_nhan> <d2p1:is_ttgd_xac_nhan_giao_hang>10</d2p1:is_ttgd_xac_nhan_giao_hang> <d2p1:ma_dat_xe>2</d2p1:ma_dat_xe> <d2p1:ma_don_vi_dieu_xe>sample string 14</d2p1:ma_don_vi_dieu_xe> <d2p1:ma_don_vi_lai_xe>sample string 16</d2p1:ma_don_vi_lai_xe> <d2p1:ma_lai_xe>3</d2p1:ma_lai_xe> <d2p1:ma_lai_xe_Van_hanh>sample string 18</d2p1:ma_lai_xe_Van_hanh> <d2p1:ma_nguoi_dieu_xe>sample string 11</d2p1:ma_nguoi_dieu_xe> <d2p1:ngay_dieu_xe>2025-07-23T02:25:05.8390597+07:00</d2p1:ngay_dieu_xe> <d2p1:ngay_lai_xe_chap_nhan>2025-07-23T02:25:05.8390597+07:00</d2p1:ngay_lai_xe_chap_nhan> <d2p1:ngay_sua>2025-07-23T02:25:05.8390597+07:00</d2p1:ngay_sua> <d2p1:ngay_ttgd_xac_nhan_giao_hang>2025-07-23T02:25:05.8390597+07:00</d2p1:ngay_ttgd_xac_nhan_giao_hang> <d2p1:so_kien_nhan>5</d2p1:so_kien_nhan> <d2p1:ten_don_vi_dieu_xe>sample string 15</d2p1:ten_don_vi_dieu_xe> <d2p1:ten_don_vi_lai_xe>sample string 17</d2p1:ten_don_vi_lai_xe> <d2p1:ten_lai_xe>sample string 6</d2p1:ten_lai_xe> <d2p1:ten_nguoi_dieu_xe>sample string 12</d2p1:ten_nguoi_dieu_xe> <d2p1:thoi_gian_xe_den_du_kien>sample string 19</d2p1:thoi_gian_xe_den_du_kien> <d2p1:trong_luong_nhan>4</d2p1:trong_luong_nhan> </obj> <xacNhan>sample string 2</xacNhan> </clsInputDatXeLaiXe>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of string [key] and Object [value]Response 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>