PUT api/Addresses/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PatientAddressDto
NameDescriptionTypeAdditional information
AddressId

integer

None.

AddressTypeId

integer

None.

Line

string

String length: inclusive between 0 and 100

Line2

string

String length: inclusive between 0 and 100

City

string

String length: inclusive between 0 and 50

State

string

String length: inclusive between 0 and 2

Zip

string

String length: inclusive between 0 and 5

Zip4

string

String length: inclusive between 0 and 4

IsPreferred

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressId": 1,
  "AddressTypeId": 2,
  "Line": "sample string 3",
  "Line2": "sample string 4",
  "City": "sample string 5",
  "State": "sample string 6",
  "Zip": "sample string 7",
  "Zip4": "sample string 8",
  "IsPreferred": 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 'PatientAddressDto'.

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.