PATCH Account/Patch/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

CustomJsonPatchDocumentOfUser
NameDescriptionTypeAdditional information
Operations

Collection of JsonPatchOperation

None.

HasOperations

boolean

None.

Request Formats

application/json, text/json, multipart/form-data

Sample:
{
  "operations": [],
  "hasoperations": false
}

application/xml, text/xml

Sample:
<CustomJsonPatchDocumentOfUserKC350I4w xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceGeneric">
  <Operations xmlns:d2p1="http://schemas.datacontract.org/2004/07/JsonPatch" />
</CustomJsonPatchDocumentOfUserKC350I4w>

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 'CustomJsonPatchDocument`1'.

application/json-patch+json

Sample:

Failed to generate the sample for media type 'application/json-patch+json'. Cannot use formatter 'CustomJsonPatchFormatter' to write type 'CustomJsonPatchDocument`1'.

Response Information

Resource Description

RequestResultOfUser
NameDescriptionTypeAdditional information
DbErrors

Collection of DbEntityValidationResult

None.

LogicErrors

Collection of LogicError

None.

HasErrors

boolean

None.

Data

User

None.

Response Formats

application/json, text/json, multipart/form-data

Sample:
{
  "dberrors": null,
  "logicerrors": null,
  "haserrors": false,
  "data": {
    "id": "4449081c-e166-4d90-9c9d-d10b7594d51d",
    "username": "sample string 2",
    "password": "sample string 3",
    "firstname": "sample string 4",
    "lastname": "sample string 5",
    "email": "sample string 6",
    "createat": "2025-11-08T10:52:08.052987+01:00",
    "passwordlastupdate": "2025-11-08T10:52:08.052987+01:00",
    "phone": "sample string 8",
    "role": 0,
    "displayname": "sample string 4 sample string 5",
    "pushtoken": "sample string 9",
    "numberofpurchaseordertocome": 0
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Le graphique de l'objet pour le type 'System.Collections.Generic.List`1[[DataModel.Entities.Voucher, DataModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contient des cycles et il est impossible de le sérialiser si le suivi de référence est désactivé.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Le graphique de l'objet pour le type 'System.Collections.Generic.List`1[[DataModel.Entities.Voucher, DataModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contient des cycles et il est impossible de le sérialiser si le suivi de référence est désactivé.