POST api/DangKyTrungCap2Nam/create

Request Information

URI Parameters

None.

Body Parameters

DangKyTrungCap2NamViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

NgheID

integer

None.

HoTen

string

None.

NgaySinh

string

None.

GioiTinh

boolean

None.

HKTT

string

None.

DiaChi

string

None.

SoDienThoai

string

None.

Email

string

None.

Facebook

string

None.

TruongTotNghiep

string

None.

DiemLop6

decimal number

None.

DiemLop7

decimal number

None.

DiemLop8

decimal number

None.

DiemLop9

decimal number

None.

TrangThai

boolean

None.

DangKyOnline

boolean

None.

HoanThienHoSo

boolean

None.

isLienHe

boolean

None.

KichHoat

boolean

None.

NgayTao

string

None.

NguoiTao

string

None.

NgaySua

string

None.

NguoiSua

string

None.

DaXoa

boolean

None.

NgayXoa

string

None.

NguoiXoa

string

None.

PhongKhoa_Nghe

PhongKhoa_NgheViewModel

None.

BangCap

string

None.

CMND

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "NgheID": 1,
  "HoTen": "sample string 2",
  "NgaySinh": "sample string 3",
  "GioiTinh": true,
  "HKTT": "sample string 4",
  "DiaChi": "sample string 5",
  "SoDienThoai": "sample string 6",
  "Email": "sample string 7",
  "Facebook": "sample string 8",
  "TruongTotNghiep": "sample string 9",
  "DiemLop6": 1.1,
  "DiemLop7": 1.1,
  "DiemLop8": 1.1,
  "DiemLop9": 1.1,
  "TrangThai": true,
  "DangKyOnline": true,
  "HoanThienHoSo": true,
  "isLienHe": true,
  "KichHoat": true,
  "NgayTao": "sample string 11",
  "NguoiTao": "sample string 12",
  "NgaySua": "sample string 13",
  "NguoiSua": "sample string 14",
  "DaXoa": true,
  "NgayXoa": "sample string 15",
  "NguoiXoa": "sample string 16",
  "PhongKhoa_Nghe": {
    "ID": 1,
    "PhongKhoaID": 1,
    "TenNghe": "sample string 2",
    "NgheLink": "sample string 3",
    "MoTa": "sample string 4",
    "NoiDung": "sample string 5",
    "HinhAnh": "sample string 6",
    "Video": "sample string 7",
    "isCaoDang": true,
    "isTrungCap": true,
    "KichHoat": true,
    "NgayTao": "sample string 10",
    "NguoiTao": "sample string 11",
    "NgaySua": "sample string 12",
    "NguoiSua": "sample string 13",
    "DaXoa": true,
    "NgayXoa": "sample string 14",
    "NguoiXoa": "sample string 15",
    "PhongKhoa": {
      "ID": 1,
      "TenPhongKhoa": "sample string 2",
      "PhongKhoaLink": "sample string 3",
      "TruongPhong": "sample string 4",
      "PhoTruongPhong": "sample string 5",
      "HinhAnh": "sample string 6",
      "isPhong": true,
      "NoiDung": "sample string 7",
      "KichHoat": true,
      "NgayTao": "sample string 8",
      "NguoiTao": "sample string 9",
      "NgaySua": "sample string 10",
      "NguoiSua": "sample string 11",
      "DaXoa": true,
      "NgayXoa": "sample string 12",
      "NguoiXoa": "sample string 13"
    }
  },
  "BangCap": "sample string 17",
  "CMND": "sample string 18"
}

application/xml, text/xml

Sample:
<DangKyTrungCap2NamViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models">
  <BangCap>sample string 17</BangCap>
  <CMND>sample string 18</CMND>
  <DaXoa>true</DaXoa>
  <DangKyOnline>true</DangKyOnline>
  <DiaChi>sample string 5</DiaChi>
  <DiemLop6>1.1</DiemLop6>
  <DiemLop7>1.1</DiemLop7>
  <DiemLop8>1.1</DiemLop8>
  <DiemLop9>1.1</DiemLop9>
  <Email>sample string 7</Email>
  <Facebook>sample string 8</Facebook>
  <GioiTinh>true</GioiTinh>
  <HKTT>sample string 4</HKTT>
  <HoTen>sample string 2</HoTen>
  <HoanThienHoSo>true</HoanThienHoSo>
  <ID>1</ID>
  <KichHoat>true</KichHoat>
  <NgaySinh>sample string 3</NgaySinh>
  <NgaySua>sample string 13</NgaySua>
  <NgayTao>sample string 11</NgayTao>
  <NgayXoa>sample string 15</NgayXoa>
  <NgheID>1</NgheID>
  <NguoiSua>sample string 14</NguoiSua>
  <NguoiTao>sample string 12</NguoiTao>
  <NguoiXoa>sample string 16</NguoiXoa>
  <PhongKhoa_Nghe>
    <DaXoa>true</DaXoa>
    <HinhAnh>sample string 6</HinhAnh>
    <ID>1</ID>
    <KichHoat>true</KichHoat>
    <MoTa>sample string 4</MoTa>
    <NgaySua>sample string 12</NgaySua>
    <NgayTao>sample string 10</NgayTao>
    <NgayXoa>sample string 14</NgayXoa>
    <NgheLink>sample string 3</NgheLink>
    <NguoiSua>sample string 13</NguoiSua>
    <NguoiTao>sample string 11</NguoiTao>
    <NguoiXoa>sample string 15</NguoiXoa>
    <NoiDung>sample string 5</NoiDung>
    <PhongKhoa>
      <DaXoa>true</DaXoa>
      <HinhAnh>sample string 6</HinhAnh>
      <ID>1</ID>
      <KichHoat>true</KichHoat>
      <NgaySua>sample string 10</NgaySua>
      <NgayTao>sample string 8</NgayTao>
      <NgayXoa>sample string 12</NgayXoa>
      <NguoiSua>sample string 11</NguoiSua>
      <NguoiTao>sample string 9</NguoiTao>
      <NguoiXoa>sample string 13</NguoiXoa>
      <NoiDung>sample string 7</NoiDung>
      <PhoTruongPhong>sample string 5</PhoTruongPhong>
      <PhongKhoaLink>sample string 3</PhongKhoaLink>
      <TenPhongKhoa>sample string 2</TenPhongKhoa>
      <TruongPhong>sample string 4</TruongPhong>
      <isPhong>true</isPhong>
    </PhongKhoa>
    <PhongKhoaID>1</PhongKhoaID>
    <TenNghe>sample string 2</TenNghe>
    <Video>sample string 7</Video>
    <isCaoDang>true</isCaoDang>
    <isTrungCap>true</isTrungCap>
  </PhongKhoa_Nghe>
  <SoDienThoai>sample string 6</SoDienThoai>
  <TrangThai>true</TrangThai>
  <TruongTotNghiep>sample string 9</TruongTotNghiep>
  <isLienHe>true</isLienHe>
</DangKyTrungCap2NamViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DangKyTrungCap2NamViewModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.