POST Api/Service/CreateSale

Request Information

URI Parameters

None.

Body Parameters

VisitSale
NameDescriptionTypeAdditional information
VisitSaleId

integer

None.

VisitId

integer

None.

ProductId

integer

None.

TotalSale

integer

None.

Inventory

integer

None.

Price

decimal number

None.

IsAvailable

boolean

None.

ValidationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "VisitSaleId": 1,
  "VisitId": 2,
  "ProductId": 3,
  "TotalSale": 4,
  "Inventory": 5,
  "Price": 6.0,
  "IsAvailable": true,
  "ValidationDate": "2021-07-26T00:21:55.9506462-05:00"
}

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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.