ImesI

<back to all web services

Notificacio

Requires Authentication
The following routes are available for this service:
PUT/notificacionsEdició de notificacionsNotes sobre l'edició de notificacions!
Notificacio Parameters:
NameParameterData TypeRequiredDescription
IdbodyintNo
NamebodystringNo
TipusbodyTipusNotificacioNo
SubjectbodystringNo
Subject_ESbodystringNo
BodybodystringNo
Body_ESbodystringNo
BasicRegister Parameters:
NameParameterData TypeRequiredDescription
CreatedAtformDateTimeOffset?No
CreatedByIdformint?No
CreatedByformBRUserNo
UpdatedAtformDateTimeOffset?No
UpdatedByIdformint?No
UpdatedByformBRUserNo
RowVersionformulongNo
BRUser Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserNameformstringNo
EmailformstringNo
FirstNameformstringNo
LastNameformstringNo
DisplayNameformstringNo
TimeZoneformstringNo
RolesformList<string>No
PermissionsformList<string>No
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
TipusNotificacio Enum:
NameValue
Propietari1
Arrendatari2
Notificacio Parameters:
NameParameterData TypeRequiredDescription
IdbodyintNo
NamebodystringNo
TipusbodyTipusNotificacioNo
SubjectbodystringNo
Subject_ESbodystringNo
BodybodystringNo
Body_ESbodystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /notificacions HTTP/1.1 
Host: gpv.ocellot.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Id: 0,
	Name: String,
	Tipus: Propietari,
	Subject: String,
	Subject_ES: String,
	Body: String,
	Body_ES: String,
	CreatedAt: 0001-01-01T00:00:00.0000000+00:00,
	CreatedById: 0,
	CreatedBy: 
	{
		Id: 0,
		UserName: String,
		Email: String,
		FirstName: String,
		LastName: String,
		DisplayName: String,
		TimeZone: String,
		Roles: 
		[
			String
		],
		Permissions: 
		[
			String
		],
		CreatedDate: 0001-01-01,
		ModifiedDate: 0001-01-01
	},
	UpdatedAt: 0001-01-01T00:00:00.0000000+00:00,
	UpdatedById: 0,
	UpdatedBy: 
	{
		Id: 0,
		UserName: String,
		Email: String,
		FirstName: String,
		LastName: String,
		DisplayName: String,
		TimeZone: String,
		Roles: 
		[
			String
		],
		Permissions: 
		[
			String
		],
		CreatedDate: 0001-01-01,
		ModifiedDate: 0001-01-01
	},
	RowVersion: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Id: 0,
	Name: String,
	Tipus: Propietari,
	Subject: String,
	Subject_ES: String,
	Body: String,
	Body_ES: String,
	CreatedAt: 0001-01-01T00:00:00.0000000+00:00,
	CreatedById: 0,
	CreatedBy: 
	{
		Id: 0,
		UserName: String,
		Email: String,
		FirstName: String,
		LastName: String,
		DisplayName: String,
		TimeZone: String,
		Roles: 
		[
			String
		],
		Permissions: 
		[
			String
		],
		CreatedDate: 0001-01-01,
		ModifiedDate: 0001-01-01
	},
	UpdatedAt: 0001-01-01T00:00:00.0000000+00:00,
	UpdatedById: 0,
	UpdatedBy: 
	{
		Id: 0,
		UserName: String,
		Email: String,
		FirstName: String,
		LastName: String,
		DisplayName: String,
		TimeZone: String,
		Roles: 
		[
			String
		],
		Permissions: 
		[
			String
		],
		CreatedDate: 0001-01-01,
		ModifiedDate: 0001-01-01
	},
	RowVersion: 0
}