POST api/v1/Request/SaveRequest

Request Information

URI Parameters

None.

Body Parameters

Request
NameDescriptionTypeAdditional information
Id

string

None.

RequestNo

string

None.

NumberSample

integer

None.

CustomerId

string

None.

ContactId

string

None.

TaxVat

decimal number

None.

ReceivedDate

date

None.

ReturnedDate

date

None.

Timestamp

date

None.

ShortCode

string

None.

UserId

string

None.

Total

decimal number

None.

IsActive

integer

None.

ValidNumber

integer

None.

PromoSpecial

decimal number

None.

PromoPerorder

decimal number

None.

TitlePromoSpec

string

None.

Note

string

None.

IsIssueBill

boolean

None.

IsShow

boolean

None.

OrganizationNameE

string

None.

OrganizationNameL

string

None.

CompanyNameE

string

None.

CompanyNameL

string

None.

CompanyCode

string

None.

CreatedBy

string

None.

ContactName

string

None.

EmployeeNR

string

None.

ReceiveCompanyE

string

None.

ReceiveCompanyL

string

None.

OrderedSamples

integer

None.

TotalEstimated

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "RequestNo": "sample string 2",
  "NumberSample": 1,
  "CustomerId": "sample string 3",
  "ContactId": "sample string 4",
  "TaxVat": 1.0,
  "ReceivedDate": "2025-12-11T21:26:54.8846019+07:00",
  "ReturnedDate": "2025-12-11T21:26:54.8846019+07:00",
  "Timestamp": "2025-12-11T21:26:54.8846019+07:00",
  "ShortCode": "sample string 5",
  "UserId": "sample string 6",
  "Total": 1.0,
  "IsActive": 1,
  "ValidNumber": 1,
  "PromoSpecial": 1.0,
  "PromoPerorder": 1.0,
  "TitlePromoSpec": "sample string 7",
  "Note": "sample string 8",
  "IsIssueBill": true,
  "IsShow": true,
  "OrganizationNameE": "sample string 9",
  "OrganizationNameL": "sample string 10",
  "CompanyNameE": "sample string 11",
  "CompanyNameL": "sample string 12",
  "CompanyCode": "sample string 13",
  "CreatedBy": "sample string 14",
  "ContactName": "sample string 15",
  "EmployeeNR": "sample string 16",
  "ReceiveCompanyE": "sample string 17",
  "ReceiveCompanyL": "sample string 18",
  "OrderedSamples": 1,
  "TotalEstimated": 1.0
}

application/xml, text/xml

Sample:
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EDCAPI.Models.Requests">
  <CompanyCode>sample string 13</CompanyCode>
  <CompanyNameE>sample string 11</CompanyNameE>
  <CompanyNameL>sample string 12</CompanyNameL>
  <ContactId>sample string 4</ContactId>
  <ContactName>sample string 15</ContactName>
  <CreatedBy>sample string 14</CreatedBy>
  <CustomerId>sample string 3</CustomerId>
  <EmployeeNR>sample string 16</EmployeeNR>
  <Id>sample string 1</Id>
  <IsActive>1</IsActive>
  <IsIssueBill>true</IsIssueBill>
  <IsShow>true</IsShow>
  <Note>sample string 8</Note>
  <NumberSample>1</NumberSample>
  <OrderedSamples>1</OrderedSamples>
  <OrganizationNameE>sample string 9</OrganizationNameE>
  <OrganizationNameL>sample string 10</OrganizationNameL>
  <PromoPerorder>1</PromoPerorder>
  <PromoSpecial>1</PromoSpecial>
  <ReceiveCompanyE>sample string 17</ReceiveCompanyE>
  <ReceiveCompanyL>sample string 18</ReceiveCompanyL>
  <ReceivedDate>2025-12-11T21:26:54.8846019+07:00</ReceivedDate>
  <RequestNo>sample string 2</RequestNo>
  <ReturnedDate>2025-12-11T21:26:54.8846019+07:00</ReturnedDate>
  <ShortCode>sample string 5</ShortCode>
  <TaxVat>1</TaxVat>
  <Timestamp>2025-12-11T21:26:54.8846019+07:00</Timestamp>
  <TitlePromoSpec>sample string 7</TitlePromoSpec>
  <Total>1</Total>
  <TotalEstimated>1</TotalEstimated>
  <UserId>sample string 6</UserId>
  <ValidNumber>1</ValidNumber>
</Request>

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.