POST api/Dispatch/JourneyEnd

Request Information

URI Parameters

None.

Body Parameters

admin_DispatchMaster
NameDescriptionTypeAdditional information
id

integer

None.

StateID

integer

None.

DispatchNo

string

None.

Nxt

integer

None.

Freight

decimal number

None.

FreightType

string

None.

OtherFreight

decimal number

None.

DIspatchMode

integer

None.

DispatchUser

integer

None.

HelperDCS

integer

None.

AssignUser

integer

None.

StartDate

date

None.

EndDate

date

None.

StartKM

integer

None.

SLat

decimal number

None.

SLong

decimal number

None.

EndKm

integer

None.

ELat

decimal number

None.

ELong

decimal number

None.

sts

string

None.

Edate

date

None.

admin_StockInvoice

Collection of admin_StockInvoice

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "stateID": 2,
  "dispatchNo": "sample string 3",
  "nxt": 4,
  "freight": 5.0,
  "freightType": "sample string 6",
  "otherFreight": 7.0,
  "dIspatchMode": 8,
  "dispatchUser": 9,
  "helperDCS": 1,
  "assignUser": 10,
  "startDate": "2025-12-06T09:06:01.3472224+05:30",
  "endDate": "2025-12-06T09:06:01.3472224+05:30",
  "startKM": 11,
  "sLat": 1.0,
  "sLong": 1.0,
  "endKm": 12,
  "eLat": 1.0,
  "eLong": 1.0,
  "sts": "sample string 13",
  "edate": "2025-12-06T09:06:01.3472224+05:30",
  "admin_StockInvoice": [
    {
      "id": 1,
      "stateName": "sample string 2",
      "usrID": 3,
      "dispatchMasterID": 1,
      "inv_Date": "2025-12-06T09:06:01.3472224+05:30",
      "invoiceNo": "sample string 5",
      "srD_Code": "sample string 6",
      "srD_Name": "sample string 7",
      "qty": 8,
      "amount": 9.0,
      "weight": 10.0,
      "vehical_KM": 1,
      "reedemKm": 1,
      "eLat": 1.0,
      "eLong": 1.0,
      "acceptedDate": "2025-12-06T09:06:01.3472224+05:30",
      "deliveredDate": "2025-12-06T09:06:01.3472224+05:30",
      "approvalDate": "2025-12-06T09:06:01.3472224+05:30",
      "userRemarks": "sample string 11",
      "adminRemarks": "sample string 12",
      "sts": "sample string 13",
      "lmd": "2025-12-06T09:06:01.3472224+05:30",
      "edate": "2025-12-06T09:06:01.3472224+05:30"
    },
    {
      "id": 1,
      "stateName": "sample string 2",
      "usrID": 3,
      "dispatchMasterID": 1,
      "inv_Date": "2025-12-06T09:06:01.3472224+05:30",
      "invoiceNo": "sample string 5",
      "srD_Code": "sample string 6",
      "srD_Name": "sample string 7",
      "qty": 8,
      "amount": 9.0,
      "weight": 10.0,
      "vehical_KM": 1,
      "reedemKm": 1,
      "eLat": 1.0,
      "eLong": 1.0,
      "acceptedDate": "2025-12-06T09:06:01.3472224+05:30",
      "deliveredDate": "2025-12-06T09:06:01.3472224+05:30",
      "approvalDate": "2025-12-06T09:06:01.3472224+05:30",
      "userRemarks": "sample string 11",
      "adminRemarks": "sample string 12",
      "sts": "sample string 13",
      "lmd": "2025-12-06T09:06:01.3472224+05:30",
      "edate": "2025-12-06T09:06:01.3472224+05:30"
    }
  ]
}

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.