POST api/Branches

Request Information

URI Parameters

None.

Body Parameters

Request
NameDescriptionTypeAdditional information
Id

integer

None.

AcceptedOn

date

None.

DeliveredOn

date

None.

Fees

decimal number

None.

Lat

decimal number

Range: inclusive between 0 and 1000000000

Long

decimal number

Range: inclusive between 0 and 1000000000

RequestedOn

date

None.

PilotRating

decimal number

None.

ShopRating

decimal number

None.

CreationTime

date

None.

BranchId

integer

None.

PilotId

integer

None.

VehicleTypeId

integer

None.

PilotLocationId

integer

None.

BranchComment

string

String length: inclusive between 0 and 500

RequestStatusTypeId

integer

None.

CreatorUserId

integer

None.

LastModificationTime

date

None.

LastModifierUserId

integer

None.

poiltJournalId

integer

None.

voooJournalId

integer

None.

WithdrawPilotId

integer

None.

Withdraw_Id

integer

None.

Approved

boolean

None.

EstimatedFees

decimal number

None.

TargetLat

decimal number

Range: inclusive between 0 and 1000000000

TargetLong

decimal number

Range: inclusive between 0 and 1000000000

ActualLat

decimal number

Range: inclusive between 0 and 1000000000

ActualLong

decimal number

Range: inclusive between 0 and 1000000000

ActualDistance

decimal number

None.

EstimatedDistance

decimal number

None.

EstimatedTime

decimal number

None.

PickedOn

date

None.

PricingMode

string

None.

PilotComment

string

String length: inclusive between 0 and 500

Scope

integer

None.

CancelReasonsId

integer

None.

AdminComment

string

None.

TripCount

integer

None.

Branch

Branch

None.

Journal

Journal

None.

Journal1

Journal

None.

Pilot

Pilot

None.

PilotLocation

PilotLocation

None.

RequestInvitations

Collection of RequestInvitation

None.

RequestStatusType

RequestStatusType

None.

VehicleType

VehicleType

None.

Withdraw

Withdraw

None.

CancelReasons

CancelReasons

None.

RequestStatus

Collection of RequestStatu

None.

Tickets

Collection of Ticket

None.

ActualAddress

string

None.

TargetAddress

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Exception of type 'System.OutOfMemoryException' was thrown.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Exception of type 'System.OutOfMemoryException' was thrown.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'VOOO_MVCAPI.Models.Area' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'VOOO_MVCAPI.Models.Area' contains cycles and cannot be serialized if reference tracking is disabled.

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 'Request'.

Response Information

Resource Description

PilotInRequest
NameDescriptionTypeAdditional information
Flag

boolean

None.

Pilots

Collection of Pilot

None.

Users

Collection of User

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Exception of type 'System.OutOfMemoryException' was thrown.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Exception of type 'System.OutOfMemoryException' was thrown.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[VOOO_MVCAPI.Models.Branch, VOOO_MVCAPI, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[VOOO_MVCAPI.Models.Branch, VOOO_MVCAPI, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.