PUT api/Account/User/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

UserDTO
NameDescriptionTypeAdditional information
Id

string

None.

AddressId

integer

None.

FirstName

string

Required

LastName

string

Required

FullName

string

None.

Email

string

Required

PhoneNumber

string

None.

SignatureBlock

string

None.

Role

string

None.

Code

string

None.

Address

Address

None.

SignatureImage

Asset

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "AddressId": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "FullName": "sample string 2 sample string 3",
  "Email": "sample string 4",
  "PhoneNumber": "sample string 5",
  "SignatureBlock": "sample string 6",
  "Role": "sample string 7",
  "Code": "sample string 8",
  "Address": {
    "Id": 1,
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "Address3": "sample string 4",
    "Town": "sample string 5",
    "County": "sample string 6",
    "Postcode": "sample string 7",
    "What3Words": "sample string 8",
    "Latitude": 1.1,
    "Longitude": 1.1
  },
  "SignatureImage": {
    "Id": 1,
    "NanId": "79314d95-b351-45cf-a3c0-fefdade5ebe3",
    "FileName": "sample string 3",
    "Path": "sample string 4",
    "AssetType": 0,
    "ContentType": "sample string 5",
    "Added": "2025-01-09T08:09:20.7472318+00:00",
    "Updated": "2025-01-09T08:09:20.7472318+00:00"
  }
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AddressId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FirstName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="LastName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FullName"

sample string 2 sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Email"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PhoneNumber"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureBlock"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Role"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Code"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Address1"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Address2"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Address3"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Town"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.County"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Postcode"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.What3Words"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Latitude"

1.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address.Longitude"

1.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureImage.Id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureImage.NanId"

79314d95-b351-45cf-a3c0-fefdade5ebe3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureImage.FileName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureImage.Path"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureImage.AssetType"

document
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureImage.ContentType"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureImage.Added"

2025-01-09T08:09:20.7472318+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SignatureImage.Updated"

2025-01-09T08:09:20.7472318+00:00
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

None.