POST api/SalesEnquiry

Request Information

URI Parameters

None.

Body Parameters

SalesEnquiry
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

Required

String length: inclusive between 0 and 200

Phone

string

Required

String length: inclusive between 0 and 200

RelatedTo

string

Required

String length: inclusive between 0 and 200

EnquiryDate

date

None.

FollowUpDate

date

None.

CreatedOn

date

None.

CreatedBy

string

String length: inclusive between 0 and 200

ModifiedOn

date

None.

ModifiedBy

string

String length: inclusive between 0 and 200

Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Phone": "sample string 3",
  "RelatedTo": "sample string 4",
  "EnquiryDate": "2026-03-06T23:05:13.2701189-07:00",
  "FollowUpDate": "2026-03-06T23:05:13.2701189-07:00",
  "CreatedOn": "2026-03-06T23:05:13.2701189-07:00",
  "CreatedBy": "sample string 8",
  "ModifiedOn": "2026-03-06T23:05:13.2701189-07:00",
  "ModifiedBy": "sample string 9",
  "Status": true
}

application/xml, text/xml

Sample:
<SalesEnquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConstructionERP.Common.Models">
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedOn>2026-03-06T23:05:13.2701189-07:00</CreatedOn>
  <EnquiryDate>2026-03-06T23:05:13.2701189-07:00</EnquiryDate>
  <FollowUpDate>2026-03-06T23:05:13.2701189-07:00</FollowUpDate>
  <ID>1</ID>
  <ModifiedBy>sample string 9</ModifiedBy>
  <ModifiedOn>2026-03-06T23:05:13.2701189-07:00</ModifiedOn>
  <Name>sample string 2</Name>
  <Phone>sample string 3</Phone>
  <RelatedTo>sample string 4</RelatedTo>
  <Status>true</Status>
</SalesEnquiry>

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.