POST api/DinhMucPTN/ThemMessageDuTruMH

Request Information

URI Parameters

None.

Body Parameters

DuTruTTBNoteModel
NameDescriptionTypeAdditional information
ID

decimal number

None.

IDDMMH

decimal number

None.

Contents

string

None.

NguoiTao

string

None.

NgayTao

string

None.

IsIdoc

boolean

None.

HoTenNguoiTao

string

None.

IsUser

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1.0,
  "iddmmh": 2.0,
  "contents": "sample string 3",
  "nguoiTao": "sample string 4",
  "ngayTao": "sample string 5",
  "isIdoc": true,
  "hoTenNguoiTao": "sample string 7",
  "isUser": true
}

text/html

Sample:
{"id":1.0,"iddmmh":2.0,"contents":"sample string 3","nguoiTao":"sample string 4","ngayTao":"sample string 5","isIdoc":true,"hoTenNguoiTao":"sample string 7","isUser":true}

application/xml, text/xml

Sample:
<DuTruTTBNoteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.ViewModel">
  <Contents>sample string 3</Contents>
  <HoTenNguoiTao>sample string 7</HoTenNguoiTao>
  <ID>1</ID>
  <IDDMMH>2</IDDMMH>
  <IsIdoc>true</IsIdoc>
  <IsUser>true</IsUser>
  <NgayTao>sample string 5</NgayTao>
  <NguoiTao>sample string 4</NguoiTao>
</DuTruTTBNoteModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.