PUT api/ProfileAddresses
Request Information
URI Parameters
None.
Body Parameters
UserAddressModelName | Description | Type | Additional information |
---|---|---|---|
UserAddressId | integer |
None. |
|
FirstName | string |
None. |
|
NickName | string |
None. |
|
CountryName | string |
None. |
|
StateName | string |
None. |
|
LastName | string |
None. |
|
AddressTypeId | integer |
None. |
|
Company | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
City | string |
None. |
|
StateId | integer |
None. |
|
ZipPostalCode | string |
None. |
|
CountryId | integer |
None. |
|
Phone | string |
None. |
|
IsPrimary | boolean |
Required |
|
IsActive | boolean |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserAddressId": 1, "FirstName": "sample string 2", "NickName": "sample string 3", "CountryName": "sample string 4", "StateName": "sample string 5", "LastName": "sample string 6", "AddressTypeId": 7, "Company": "sample string 8", "AddressLine1": "sample string 9", "AddressLine2": "sample string 10", "City": "sample string 11", "StateId": 12, "ZipPostalCode": "sample string 13", "CountryId": 14, "Phone": "sample string 15", "IsPrimary": true, "IsActive": true, "CreatedBy": "sample string 18", "CreatedDate": "2025-04-03T23:11:37.4313148-04:00", "UpdatedBy": "sample string 20", "UpdatedDate": "2025-04-03T23:11:37.4313148-04:00" }
text/html
Sample:
{"UserAddressId":1,"FirstName":"sample string 2","NickName":"sample string 3","CountryName":"sample string 4","StateName":"sample string 5","LastName":"sample string 6","AddressTypeId":7,"Company":"sample string 8","AddressLine1":"sample string 9","AddressLine2":"sample string 10","City":"sample string 11","StateId":12,"ZipPostalCode":"sample string 13","CountryId":14,"Phone":"sample string 15","IsPrimary":true,"IsActive":true,"CreatedBy":"sample string 18","CreatedDate":"2025-04-03T23:11:37.4313148-04:00","UpdatedBy":"sample string 20","UpdatedDate":"2025-04-03T23:11:37.4313148-04:00"}
application/xml, text/xml
Sample:
<UserAddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMCBusinessLayer.Models"> <AddressLine1>sample string 9</AddressLine1> <AddressLine2>sample string 10</AddressLine2> <AddressTypeId>7</AddressTypeId> <City>sample string 11</City> <Company>sample string 8</Company> <CountryId>14</CountryId> <CountryName>sample string 4</CountryName> <CreatedBy>sample string 18</CreatedBy> <CreatedDate>2025-04-03T23:11:37.4313148-04:00</CreatedDate> <FirstName>sample string 2</FirstName> <IsActive>true</IsActive> <IsPrimary>true</IsPrimary> <LastName>sample string 6</LastName> <NickName>sample string 3</NickName> <Phone>sample string 15</Phone> <StateId>12</StateId> <StateName>sample string 5</StateName> <UpdatedBy>sample string 20</UpdatedBy> <UpdatedDate>2025-04-03T23:11:37.4313148-04:00</UpdatedDate> <UserAddressId>1</UserAddressId> <ZipPostalCode>sample string 13</ZipPostalCode> </UserAddressModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.