POST api/Laundry/CreateOrder

Request Information

URI Parameters

None.

Body Parameters

CreateLaduntryDTO
NameDescriptionTypeAdditional information
UserID

globally unique identifier

None.

PickAddress

globally unique identifier

None.

DropAddress

globally unique identifier

None.

DeliveryModeType

DeliveryMode

None.

Service

string

None.

Rate

decimal number

None.

date

date

None.

Time

string

None.

DeliveryCharge

decimal number

None.

ServiceCharge

decimal number

None.

Discount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": "e2745cbb-d469-44fe-b77e-44fd56c8f527",
  "PickAddress": "f3ddfb52-0dd4-4253-a323-766a7e8d0b03",
  "DropAddress": "35d4c5c3-0503-45ac-98cf-189d98ded46b",
  "DeliveryModeType": 0,
  "Service": "sample string 4",
  "Rate": 5.1,
  "date": "2025-03-14T15:38:07.2645138+00:00",
  "Time": "sample string 7",
  "DeliveryCharge": 8.1,
  "ServiceCharge": 9.1,
  "Discount": 10.1
}

application/xml, text/xml

Sample:
<CreateLaduntryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO">
  <DeliveryCharge>8.1</DeliveryCharge>
  <DeliveryModeType>Normal</DeliveryModeType>
  <Discount>10.1</Discount>
  <DropAddress>35d4c5c3-0503-45ac-98cf-189d98ded46b</DropAddress>
  <PickAddress>f3ddfb52-0dd4-4253-a323-766a7e8d0b03</PickAddress>
  <Rate>5.1</Rate>
  <Service>sample string 4</Service>
  <ServiceCharge>9.1</ServiceCharge>
  <Time>sample string 7</Time>
  <UserID>e2745cbb-d469-44fe-b77e-44fd56c8f527</UserID>
  <date>2025-03-14T15:38:07.2645138+00:00</date>
</CreateLaduntryDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDtoOfObject
NameDescriptionTypeAdditional information
Status_cd

boolean

None.

Data

Object

None.

status_Desc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status_cd": true,
  "Data": {},
  "status_Desc": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO">
  <Data />
  <Status_cd>true</Status_cd>
  <status_Desc>sample string 3</status_Desc>
</ResponseDtoOfanyType>