POST api/v1/User/Post

Request Information

URI Parameters

None.

Body Parameters

UserBL
NameDescriptionTypeAdditional information
NomeUtente

string

None.

CognomeUtente

string

None.

BirthDate

date

None.

Professione

string

None.

hasToolTip

boolean

None.

privacyNews

boolean

None.

privacyComm

boolean

None.

privacyCount

integer

None.

privacyDate

date

None.

userKey

globally unique identifier

None.

wantNews

boolean

None.

newsUnsubscribed

date

None.

linkSblocco

globally unique identifier

None.

dataLinkSblocco

date

None.

userId

string

None.

idSito

integer

None.

Data_Nascita

string

None.

IDUsersType

integer

None.

TimestampUsersType

date

None.

EnabledUsersType

boolean

None.

TimestampEnabledUserType

date

None.

Request Formats

application/json, text/json

Sample:
{
  "nomeUtente": "sample string 1",
  "cognomeUtente": "sample string 2",
  "birthDate": null,
  "professione": "sample string 3",
  "hasToolTip": true,
  "privacyNews": true,
  "privacyComm": true,
  "privacyCount": 4,
  "privacyDate": "2024-12-29T16:20:36.2448481+01:00",
  "userKey": "53544bb5-14a3-43ad-81f2-00960dfbec63",
  "wantNews": true,
  "newsUnsubscribed": "2024-12-29T16:20:36.2448481+01:00",
  "linkSblocco": "fa17da25-98fd-4743-9909-5e234e63a74e",
  "dataLinkSblocco": "2024-12-29T16:20:36.2448481+01:00",
  "userId": "sample string 7",
  "idSito": 1,
  "data_Nascita": null,
  "idUsersType": 1,
  "timestampUsersType": "2024-12-29T16:20:36.2448481+01:00",
  "enabledUsersType": true,
  "timestampEnabledUserType": "2024-12-29T16:20:36.2448481+01:00"
}

text/plain

Sample:
{"nomeUtente":"sample string 1","cognomeUtente":"sample string 2","birthDate":null,"professione":"sample string 3","hasToolTip":true,"privacyNews":true,"privacyComm":true,"privacyCount":4,"privacyDate":"2024-12-29T16:20:36.2448481+01:00","userKey":"53544bb5-14a3-43ad-81f2-00960dfbec63","wantNews":true,"newsUnsubscribed":"2024-12-29T16:20:36.2448481+01:00","linkSblocco":"fa17da25-98fd-4743-9909-5e234e63a74e","dataLinkSblocco":"2024-12-29T16:20:36.2448481+01:00","userId":"sample string 7","idSito":1,"data_Nascita":null,"idUsersType":1,"timestampUsersType":"2024-12-29T16:20:36.2448481+01:00","enabledUsersType":true,"timestampEnabledUserType":"2024-12-29T16:20:36.2448481+01:00"}

application/xml, text/xml

Sample:
<UserBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Customer.BL.Models">
  <BirthDate i:nil="true" />
  <CognomeUtente>sample string 2</CognomeUtente>
  <Data_Nascita i:nil="true" />
  <EnabledUsersType>true</EnabledUsersType>
  <IDUsersType>1</IDUsersType>
  <NomeUtente>sample string 1</NomeUtente>
  <Professione>sample string 3</Professione>
  <TimestampEnabledUserType>2024-12-29T16:20:36.2448481+01:00</TimestampEnabledUserType>
  <TimestampUsersType>2024-12-29T16:20:36.2448481+01:00</TimestampUsersType>
  <dataLinkSblocco>2024-12-29T16:20:36.2448481+01:00</dataLinkSblocco>
  <hasToolTip>true</hasToolTip>
  <idSito>1</idSito>
  <linkSblocco>fa17da25-98fd-4743-9909-5e234e63a74e</linkSblocco>
  <newsUnsubscribed>2024-12-29T16:20:36.2448481+01:00</newsUnsubscribed>
  <privacyComm>true</privacyComm>
  <privacyCount>4</privacyCount>
  <privacyDate>2024-12-29T16:20:36.2448481+01:00</privacyDate>
  <privacyNews>true</privacyNews>
  <userId>sample string 7</userId>
  <userKey>53544bb5-14a3-43ad-81f2-00960dfbec63</userKey>
  <wantNews>true</wantNews>
</UserBL>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/octet-stream

Sample:
{"NomeUtente":"sample string 1","CognomeUtente":"sample string 2","BirthDate":null,"Professione":"sample string 3","hasToolTip":true,"privacyNews":true,"privacyComm":true,"privacyCount":4,"privacyDate":"2024-12-29T16:20:36.2448481+01:00","userKey":"53544bb5-14a3-43ad-81f2-00960dfbec63","wantNews":true,"newsUnsubscribed":"2024-12-29T16:20:36.2448481+01:00","linkSblocco":"fa17da25-98fd-4743-9909-5e234e63a74e","dataLinkSblocco":"2024-12-29T16:20:36.2448481+01:00","userId":"sample string 7","idSito":1,"Data_Nascita":null,"IDUsersType":1,"TimestampUsersType":"2024-12-29T16:20:36.2448481+01:00","EnabledUsersType":true,"TimestampEnabledUserType":"2024-12-29T16:20:36.2448481+01:00"}

Response Information

Resource Description

None.