POST api/ShippingMethods

Request Information

URI Parameters

None.

Body Parameters

ShippingMethodDto
NameDescriptionTypeAdditional information
Id

integer

None.

ClientId

integer

None.

Name

string

None.

SupplierId

integer

None.

SupplierName

string

None.

ShipToOfficeCost

decimal number

None.

ShipToPatientCost

decimal number

None.

FreeShippingFlag

boolean

None.

EnableForWebOrders

boolean

None.

SupplierShippingMethodId

integer

None.

SupplierShippingMethodName

string

None.

Enabled

boolean

None.

IsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ClientId": 1,
  "Name": "sample string 2",
  "SupplierId": 3,
  "SupplierName": "sample string 4",
  "ShipToOfficeCost": 5.0,
  "ShipToPatientCost": 6.0,
  "FreeShippingFlag": true,
  "EnableForWebOrders": true,
  "SupplierShippingMethodId": 9,
  "SupplierShippingMethodName": "sample string 10",
  "Enabled": true,
  "IsDefault": true
}

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

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Message

string

None.

Result

Object

None.

StatusCode

integer

None.

StatusGroup

string

None.

Details

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.