POST api/Order/add

Request Information

URI Parameters

None.

Body Parameters

OrderViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerName

string

Required

Max length: 256

CustomerAddress

string

Required

Max length: 256

CustomerEmail

string

Required

Max length: 256

CustomerMobile

string

Required

Max length: 50

CustomerMessage

string

Required

Max length: 256

PaymentMethod

string

Max length: 256

CreatedDate

date

None.

CreatedBy

string

None.

PaymentStatus

string

None.

Status

boolean

None.

CustomerId

string

Max length: 128

BankCode

string

None.

OrderDetails

Collection of OrderDetailViewModel

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

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.