PUT api/CustAddress/{id}?CustomerId={CustomerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

string

Required

id

integer

Required

Body Parameters

CustAddress
NameDescriptionTypeAdditional information
id

integer

None.

CustomerId

string

None.

Latitude

decimal number

None.

longitude

decimal number

None.

Address

string

None.

Title

string

None.

IsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "CustomerId": "sample string 2",
  "Latitude": 3.1,
  "longitude": 4.1,
  "Address": "sample string 5",
  "Title": "sample string 6",
  "IsDefault": true
}

text/html

Sample:
{"id":1,"CustomerId":"sample string 2","Latitude":3.1,"longitude":4.1,"Address":"sample string 5","Title":"sample string 6","IsDefault":true}

application/xml, text/xml

Sample:
<CustAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNXAPItoFlutter.Models">
  <Address>sample string 5</Address>
  <CustomerId>sample string 2</CustomerId>
  <IsDefault>true</IsDefault>
  <Latitude>3.1</Latitude>
  <Title>sample string 6</Title>
  <id>1</id>
  <longitude>4.1</longitude>
</CustAddress>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>