POST CargoDetailMore/Save

Request Information

URI Parameters

None.

Body Parameters

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.

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

Response Information

Resource Description

PostResult
NameDescriptionTypeAdditional information
ID

integer

None.

id

string

None.

isSuccess

boolean

None.

Message

Exception

None.

MessageCustom

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "id": "sample string 2",
  "isSuccess": true,
  "Message": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "MessageCustom": "sample string 4"
}

application/xml, text/xml

Sample:
<PostResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehriNet.ETicaret.Models">
  <ID>1</ID>
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Message>
  <MessageCustom>sample string 4</MessageCustom>
  <id>sample string 2</id>
  <isSuccess>true</isSuccess>
</PostResult>