POST api/LogWeb/PostNewLogWeb

Request Information

URI Parameters

None.

Body Parameters

LogWeb
NameDescriptionTypeAdditional information
ID

integer

None.

Code

string

None.

InputSMC

string

None.

Status

integer

None.

InvoiceCode

string

String length: inclusive between 0 and 150

TotalDiscount

decimal number

None.

TotalAmount

decimal number

None.

TotalQuantity

integer

None.

DateUsing

date

None.

ProfileCode

string

None.

Description

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Code": "sample string 2",
  "InputSMC": "sample string 3",
  "Status": 1,
  "InvoiceCode": "sample string 4",
  "TotalDiscount": 5.0,
  "TotalAmount": 6.0,
  "TotalQuantity": 7,
  "DateUsing": "2026-05-14T15:55:36.2496241+07:00",
  "ProfileCode": "sample string 8",
  "Description": "sample string 9",
  "CreatedBy": "sample string 10",
  "CreatedDate": "2026-05-14T15:55:36.2496241+07:00",
  "UpdatedBy": "sample string 11",
  "UpdatedDate": "2026-05-14T15:55:36.2496241+07:00"
}

application/xml, text/xml

Sample:
<LogWeb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarmonyAPI.Models">
  <Code>sample string 2</Code>
  <CreatedBy>sample string 10</CreatedBy>
  <CreatedDate>2026-05-14T15:55:36.2496241+07:00</CreatedDate>
  <DateUsing>2026-05-14T15:55:36.2496241+07:00</DateUsing>
  <Description>sample string 9</Description>
  <ID>1</ID>
  <InputSMC>sample string 3</InputSMC>
  <InvoiceCode>sample string 4</InvoiceCode>
  <ProfileCode>sample string 8</ProfileCode>
  <Status>1</Status>
  <TotalAmount>6</TotalAmount>
  <TotalDiscount>5</TotalDiscount>
  <TotalQuantity>7</TotalQuantity>
  <UpdatedBy>sample string 11</UpdatedBy>
  <UpdatedDate>2026-05-14T15:55:36.2496241+07:00</UpdatedDate>
</LogWeb>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.