POST v1/SaveDeliveryStaff

Request Information

URI Parameters

None.

Body Parameters

DeliveryStaffDto
NameDescriptionTypeAdditional information
DeliveryStaffId

integer

None.

RestaurantId

integer

None.

Name

string

None.

Mobile

string

None.

Email

string

None.

ImageName

string

None.

CreatedBy

integer

None.

DateCreated

date

None.

Base64Image

string

None.

RestaurantName

string

None.

AmountDue

decimal number

None.

TotalOrders

integer

None.

DelInd

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DeliveryStaffId": 1,
  "RestaurantId": 2,
  "Name": "sample string 3",
  "Mobile": "sample string 4",
  "Email": "sample string 5",
  "ImageName": "sample string 6",
  "CreatedBy": 7,
  "DateCreated": "2025-10-25T12:07:28.5698566+01:00",
  "Base64Image": "sample string 9",
  "RestaurantName": "sample string 10",
  "AmountDue": 11.0,
  "TotalOrders": 12,
  "DelInd": true
}

application/xml, text/xml

Sample:
<DeliveryStaffDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TCB.Entity.Dtos">
  <AmountDue>11</AmountDue>
  <Base64Image>sample string 9</Base64Image>
  <CreatedBy>7</CreatedBy>
  <DateCreated>2025-10-25T12:07:28.5698566+01:00</DateCreated>
  <DelInd>true</DelInd>
  <DeliveryStaffId>1</DeliveryStaffId>
  <Email>sample string 5</Email>
  <ImageName>sample string 6</ImageName>
  <Mobile>sample string 4</Mobile>
  <Name>sample string 3</Name>
  <RestaurantId>2</RestaurantId>
  <RestaurantName>sample string 10</RestaurantName>
  <TotalOrders>12</TotalOrders>
</DeliveryStaffDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DeliveryStaffDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.