ImesI

<back to all web services

FindNotificacions

Requires Authentication
The following routes are available for this service:
POST GET/notificacions/find
GET/notificacions
FindNotificacions Parameters:
NameParameterData TypeRequiredDescription
QbodystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
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
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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.

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

{
	Q: String,
	Skip: 0,
	Take: 0,
	OrderBy: String,
	OrderByDesc: String,
	Include: String,
	Fields: String,
	Meta: 
	{
		String: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Offset: 0,
	Total: 0,
	Results: 
	[
		{
			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
		}
	],
	Meta: 
	{
		String: String
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}