POST Cargo/GetOrders

Request Information

URI Parameters

None.

Body Parameters

SearchCriteria
NameDescriptionTypeAdditional information
ListingGroupID

integer

None.

IsUpdate

boolean

None.

BarCode

string

None.

SearchText

string

None.

StartDate

date

None.

FinishDate

date

None.

StatusID

integer

None.

CountyID

integer

None.

ProvinceID

integer

None.

ListingID

integer

None.

UserID

integer

None.

PageNumber

integer

None.

MahalleID

integer

None.

AddUserID

integer

None.

FirmType

FirmTypes

None.

CargoCode

string

None.

IsOnlyUndelivered

boolean

None.

IsOnlyUserPoligons

boolean

None.

LoginedUserID

integer

None.

IsNew

boolean

None.

IsNotSetDeliveredUserID

boolean

None.

OnlyDelivered

boolean

None.

OnlyOrderCompleted

boolean

None.

PoligonID

integer

None.

IsOnlyFirm

boolean

None.

IsOnlyUSer

boolean

None.

TCKimlik

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ListingGroupID": 1,
  "IsUpdate": true,
  "BarCode": "sample string 3",
  "SearchText": "sample string 4",
  "StartDate": "2024-11-21T12:50:35.2465111+03:00",
  "FinishDate": "2024-11-21T12:50:35.2465111+03:00",
  "StatusID": 7,
  "CountyID": 8,
  "ProvinceID": 9,
  "ListingID": 10,
  "UserID": 11,
  "PageNumber": 12,
  "MahalleID": 13,
  "AddUserID": 14,
  "FirmType": 0,
  "CargoCode": "sample string 15",
  "IsOnlyUndelivered": true,
  "IsOnlyUserPoligons": true,
  "LoginedUserID": 18,
  "IsNew": true,
  "IsNotSetDeliveredUserID": true,
  "OnlyDelivered": true,
  "OnlyOrderCompleted": true,
  "PoligonID": 23,
  "IsOnlyFirm": true,
  "IsOnlyUSer": true,
  "TCKimlik": "sample string 26"
}

application/xml, text/xml

Sample:
<SearchCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehriNet.ETicaret.Models">
  <AddUserID>14</AddUserID>
  <BarCode>sample string 3</BarCode>
  <CargoCode>sample string 15</CargoCode>
  <CountyID>8</CountyID>
  <FinishDate>2024-11-21T12:50:35.2465111+03:00</FinishDate>
  <FirmType>Hepsi</FirmType>
  <IsNew>true</IsNew>
  <IsNotSetDeliveredUserID>true</IsNotSetDeliveredUserID>
  <IsOnlyFirm>true</IsOnlyFirm>
  <IsOnlyUSer>true</IsOnlyUSer>
  <IsOnlyUndelivered>true</IsOnlyUndelivered>
  <IsOnlyUserPoligons>true</IsOnlyUserPoligons>
  <IsUpdate>true</IsUpdate>
  <ListingGroupID>1</ListingGroupID>
  <ListingID>10</ListingID>
  <LoginedUserID>18</LoginedUserID>
  <MahalleID>13</MahalleID>
  <OnlyDelivered>true</OnlyDelivered>
  <OnlyOrderCompleted>true</OnlyOrderCompleted>
  <PageNumber>12</PageNumber>
  <PoligonID>23</PoligonID>
  <ProvinceID>9</ProvinceID>
  <SearchText>sample string 4</SearchText>
  <StartDate>2024-11-21T12:50:35.2465111+03:00</StartDate>
  <StatusID>7</StatusID>
  <TCKimlik>sample string 26</TCKimlik>
  <UserID>11</UserID>
</SearchCriteria>

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

Response Information

Resource Description

Collection of CargoDetailMore
NameDescriptionTypeAdditional information
CargoID

integer

None.

FromProvinceID

integer

None.

FromTownID

integer

None.

FromNeighID

integer

None.

FromAddress

string

None.

FromDesc

string

None.

FromLat

decimal number

None.

FromLong

decimal number

None.

FromUserID

string

None.

IsActive

integer

None.

ToProvinceID

integer

None.

ToTownID

integer

None.

ToNeighID

integer

None.

ToAddress

string

None.

ToDesc

string

None.

ToLat

decimal number

None.

ToLong

decimal number

None.

ToUserID

integer

None.

DeliveryUserID

integer

None.

Weight

decimal number

None.

En

decimal number

None.

Boy

decimal number

None.

Derinlik

decimal number

None.

Desi

decimal number

None.

Price

decimal number

None.

Mesafe

decimal number

None.

Discount

decimal number

None.

LastPrice

decimal number

None.

FromPhone

string

None.

FromCustomerName

string

None.

ToPhone

string

None.

ToCustomerName

string

None.

StatusID

integer

None.

ContentItem

string

None.

ItemValue

decimal number

None.

FromSMS

integer

None.

ToSMS

integer

None.

PaymentTypeID

integer

None.

Cargo

Cargo

None.

PaymentType

string

None.

ID

integer

None.

IsDeleted

boolean

None.

Active

boolean

None.

PostResult

PostResult

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: Self referencing loop detected for property 'Firm' with type 'SehriNet.ETicaret.Models.Listing'. Path '[0].Cargo.DeliveredUser.Firm.FirmUser'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Firm' with type 'SehriNet.ETicaret.Models.Listing'. Path '[0].Cargo.DeliveredUser.Firm.FirmUser'.

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 'SehriNet.ETicaret.Models.FirmUser' 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 'SehriNet.ETicaret.Models.FirmUser' contains cycles and cannot be serialized if reference tracking is disabled.