POST api/ItemMaster/AddUpdateRouteMaster

Request Information

URI Parameters

None.

Body Parameters

RouteMaster
NameDescriptionTypeAdditional information
RouteID

integer

None.

DairyPlantID

integer

Required

DairyPlantCode

string

None.

DairyPlantName

string

Required

String length: inclusive between 0 and 30

RouteName

string

Required

String length: inclusive between 0 and 30

Shifts

string

Required

VehicleCapacity

decimal number

Required

Matching regular expression pattern: ^[0-9]+(\.[0-9]+)?$

Range: inclusive between 0.01 and 999999999

DistanceCovered

integer

Required

Matching regular expression pattern: ^[0-9]+$

Range: inclusive between 1 and 999999999

IsDelete

boolean

None.

IsStatus

boolean

None.

CreatedOn

date

None.

CreatedBy

integer

None.

UpdatedOn

date

None.

UpdatedBy

integer

None.

DairyPlant

Collection of DairyPlant

None.

DairyPlantList

Collection of SelectListItem

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

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>