POST api/TradingAddress/SaveShippingAddress

Request Information

URI Parameters

None.

Body Parameters

ShippingAddressViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Telephone

string

Matching regular expression pattern: ^(\+)?(86)?([0-9]{3,4}[\-]?)?[0-9]{8}|\d{7}$

MobilePhone

string

Matching regular expression pattern: ^((13[0-9])|(14[5,7,9])|(15[^4])|(18[0-9])|(17[0,1,3,5,6,7,8]))\d{8}$

ConsigneeName

string

Required

ZipCode

integer

Matching regular expression pattern: ^([1-9]\d{5})|(0)$

IsDefault

boolean

None.

ProvinceName

string

Required

ProvinceId

integer

Required

CityId

integer

Required

CityName

string

Required

Address

string

Required

UserId

string

None.

PlatformId

integer

Required

IsDeleted

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Telephone": "sample string 2",
  "MobilePhone": "sample string 3",
  "ConsigneeName": "sample string 4",
  "ZipCode": 5,
  "IsDefault": true,
  "ProvinceName": "sample string 7",
  "ProvinceId": 8,
  "CityId": 9,
  "CityName": "sample string 10",
  "Address": "sample string 11",
  "UserId": "sample string 12",
  "PlatformId": 13,
  "IsDeleted": true,
  "CreatedBy": "sample string 15",
  "CreatedDate": "2021-10-24T15:45:00.9680869+00:00",
  "ModifiedBy": "sample string 17",
  "ModifiedDate": "2021-10-24T15:45:00.9680869+00:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfString

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatusCode": 100,
  "Success": true,
  "ResultType": 0,
  "message": "sample string 2",
  "LogMessage": "sample string 3",
  "Result": "sample string 4",
  "success": true
}