ImesI

<back to all web services

GetNotificacio

Requires Authentication
The following routes are available for this service:
GET/notificacions/{Id}
GetNotificacio Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
Notificacio Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
TipusformTipusNotificacioNo
SubjectformstringNo
Subject_ESformstringNo
BodyformstringNo
Body_ESformstringNo
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

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.

GET /notificacions/{Id} HTTP/1.1 
Host: gpv.ocellot.com 
Accept: text/jsv
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
}