POST v1/User
Request Information
URI Parameters
None.
Body Parameters
UserViewModelName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
UserId | string |
None. |
|
IsActive | boolean |
None. |
|
FullName | string |
None. |
|
Title | string |
None. |
|
Url | string |
None. |
|
PersonType | PersonType |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json
Sample:
{ "UserName": "sample string 1", "UserId": "sample string 2", "IsActive": true, "FullName": "sample string 4", "Title": "sample string 5", "Url": "sample string 6", "PersonType": 0, "Guid": "ab91aa97-2453-4665-a6c3-ba479d22602d", "Created": "2024-11-21T06:29:00.2209389+00:00", "Modified": "2024-11-21T06:29:00.2209389+00:00", "Deleted": "2024-11-21T06:29:00.2209389+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
text/json
Sample:
{ "UserName": "sample string 1", "UserId": "sample string 2", "IsActive": true, "FullName": "sample string 4", "Title": "sample string 5", "Url": "sample string 6", "PersonType": 0, "Guid": "ab91aa97-2453-4665-a6c3-ba479d22602d", "Created": "2024-11-21T06:29:00.2209389+00:00", "Modified": "2024-11-21T06:29:00.2209389+00:00", "Deleted": "2024-11-21T06:29:00.2209389+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4", "UserName": "Vul een geldig e-mailadres in." }, "IsValid": false }
application/octet-stream
Sample:
{"UserName":"sample string 1","UserId":"sample string 2","IsActive":true,"FullName":"sample string 4","Title":"sample string 5","Url":"sample string 6","PersonType":0,"Guid":"ab91aa97-2453-4665-a6c3-ba479d22602d","Created":"2024-11-21T06:29:00.2209389+00:00","Modified":"2024-11-21T06:29:00.2209389+00:00","Deleted":"2024-11-21T06:29:00.2209389+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4","UserName":"Vul een geldig e-mailadres in."},"IsValid":false}
application/xml, text/xml
Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>UserName</d2p1:Key> <d2p1:Value>Vul een geldig e-mailadres in.</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:29:00.2209389+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:29:00.2209389+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">ab91aa97-2453-4665-a6c3-ba479d22602d</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:29:00.2209389+00:00</Modified> <FullName>sample string 4</FullName> <PersonType>Unassigned</PersonType> <Title>sample string 5</Title> <Url>sample string 6</Url> <IsActive>true</IsActive> <UserId>sample string 2</UserId> <UserName>sample string 1</UserName> </UserViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserViewModelName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
UserId | string |
None. |
|
IsActive | boolean |
None. |
|
FullName | string |
None. |
|
Title | string |
None. |
|
Url | string |
None. |
|
PersonType | PersonType |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json
Sample:
{ "UserName": "sample string 1", "UserId": "sample string 2", "IsActive": true, "FullName": "sample string 4", "Title": "sample string 5", "Url": "sample string 6", "PersonType": 0, "Guid": "6f1c9d15-f5d5-4f36-aeb7-925f67e8fed1", "Created": "2024-11-21T06:29:00.2209389+00:00", "Modified": "2024-11-21T06:29:00.2209389+00:00", "Deleted": "2024-11-21T06:29:00.2209389+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
text/json
Sample:
{ "UserName": "sample string 1", "UserId": "sample string 2", "IsActive": true, "FullName": "sample string 4", "Title": "sample string 5", "Url": "sample string 6", "PersonType": 0, "Guid": "6f1c9d15-f5d5-4f36-aeb7-925f67e8fed1", "Created": "2024-11-21T06:29:00.2209389+00:00", "Modified": "2024-11-21T06:29:00.2209389+00:00", "Deleted": "2024-11-21T06:29:00.2209389+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4", "UserName": "Vul een geldig e-mailadres in." }, "IsValid": false }
application/octet-stream
Sample:
{"UserName":"sample string 1","UserId":"sample string 2","IsActive":true,"FullName":"sample string 4","Title":"sample string 5","Url":"sample string 6","PersonType":0,"Guid":"6f1c9d15-f5d5-4f36-aeb7-925f67e8fed1","Created":"2024-11-21T06:29:00.2209389+00:00","Modified":"2024-11-21T06:29:00.2209389+00:00","Deleted":"2024-11-21T06:29:00.2209389+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4","UserName":"Vul een geldig e-mailadres in."},"IsValid":false}
application/xml, text/xml
Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>UserName</d2p1:Key> <d2p1:Value>Vul een geldig e-mailadres in.</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:29:00.2209389+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:29:00.2209389+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">6f1c9d15-f5d5-4f36-aeb7-925f67e8fed1</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:29:00.2209389+00:00</Modified> <FullName>sample string 4</FullName> <PersonType>Unassigned</PersonType> <Title>sample string 5</Title> <Url>sample string 6</Url> <IsActive>true</IsActive> <UserId>sample string 2</UserId> <UserName>sample string 1</UserName> </UserViewModel>