POST api/UserAddress/AddUserAddress

Request Information

URI Parameters

None.

Body Parameters

UserAddress
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

FirstName

string

None.

LastName

string

None.

Locality

string

None.

AppartmentNo

string

None.

Landmark

string

None.

Pincode

string

None.

PincodeId

integer

None.

Mobile

string

None.

CityId

integer

None.

City

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Locality": "sample string 5",
  "AppartmentNo": "sample string 6",
  "Landmark": "sample string 7",
  "Pincode": "sample string 8",
  "PincodeId": 9,
  "Mobile": "sample string 10",
  "CityId": 11,
  "City": "sample string 12"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"UserId":2,"FirstName":"sample string 3","LastName":"sample string 4","Locality":"sample string 5","AppartmentNo":"sample string 6","Landmark":"sample string 7","Pincode":"sample string 8","PincodeId":9,"Mobile":"sample string 10","CityId":11,"City":"sample string 12"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.