job_discount_updated

Overview

The job_discount_updated event is sent after a job discount has been updated.

Event Parameters

Parameter

Data Type

Description

EventName

string

The name of the specific event.

FrontOfficeTenantId

integer

Front office ID that indicates the tenant (client) for which the request is being made.

Resource

string

Event specific information:

Id(integer): The identifier for the job.
CustomerDiscountGuidList(string): A list of customer unique identifiers for the discount, separated by commas.
CorrelationId(string): Unique identifier for this event.

ResourceModelType

string

.NET class name for the Resource.

CorrelationId

string

Unique identifier for this event.

Sample Event

{
  "EventName": "job_discount_updated",
  "FrontOfficeTenantId": 6,
  "Resource": "{\"Id\":362129,\"CustomerDiscountGuidList\":\"p438c7e3-9f23-44d5-9749-730a39664941,h813d7e3-9f23-44d5-9749-730a39664941\",\"CorrelationId\":\"f765b7e3-9f23-44d5-9749-730a39664941\"}",
  "ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.JobResourceModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
  "CorrelationId": "f765b7e3-9f23-44d5-9749-730a39664941"
}

Associated Endpoint

For details about the job, check the Get a Job endpoint.