Data models

This topic describes entities used in the CorrigoPro Direct API methods.

ActionWithComment

NameTypeVerificationDescription
CommentStringOptionalAction comment.

AdditionalField

A custom field created by the customer.

NameTypeVerificationDescription
AdditionalFieldIntMandatoryUnique identifiers of a custom field in requestor’s system.
FieldLabelStringMandatoryA label of the custom field.
URLLabelStringOptionalApplicable only for URL. Label used for URL.
ValueStringMandatoryA value of the custom field.

AdditionalFieldDescriptor

Information regarding the definition of a custom field.

NameTypeVerificationDescription
IdStringMandatoryCustom field ID.
LabelStringMandatoryA label of the custom field.
ValuesString[]OptionalCustom field values, which are possible to select. Array.
DataTypeStringMandatoryCustom field value data type ( 'String', 'Integer', 'Float', 'Money', 'PhoneNumber', 'Date', 'Time', 'Bool', 'Url').
DataLengthIntMandatoryLength of a value that can be entered in the custom field.
IsDeletedBoolMandatoryLength of a value that can be entered in the custom field
IsReadonlyBoolMandatoryIdentifies whether the custom field is read-only. If value = true, then value is ready-only.

AdditionalFieldHistory

Describes the history of changes made to the values of a custom field.

NameTypeVerificationDescription
URLLabelStringOptionalApplicable only for URL. Label used for URL.
ValueStringMandatoryA value of the custom fields.
DtStempDateTimeMandatoryDate and time of field value changes.
UpdatedByStringMandatoryA person who updated a custom field value

Address

Address information as received from a customer.

NameTypeVerificationDescription
CityStringOptional,
Maximum length 40
A city name.
CountryStringOptional,
Maximum length 50
Name or abbreviation of a country.
StateStringOptional,
Maximum length 128
Name or abbreviation of a state.
Street1StringOptional,
Maximum length 128
A street (line 1).
Street2StringOptional,
Maximum length 128
A street (line 2).
This field is used if the street information does not fit the Street1 field.
PostalCodeStringOptional,
Maximum length: 10
A postal code/ZIP code.

Appointment

NameTypeVerificationDescription
ScheduledStartDateTimeMandatoryScheduled start date of a work order.
PtePtePTE MandatoryPermission To Enter describes what a technician must do before arriving on site.

Asset

Describes a requested service.

NameTypeVerificationDescription
IdIntMandatoryIdentifier of an asset.
PathStringOptional,
Maximum length 128
Hierarchical path describes the type of work.
“ >” is used as a separator in the path.
TaskStringMandatory,
Maximum length 512
Description of what should be done.
AssetNameStringMandatory,
Maximum length 128
An asset name.
CommentStringOptional,
Maximum length 3096
Additional information about the service.

Attachment

Attachments are files, often pictures, that can be attached to work orders by either you or your customer.

NameTypeVerificationDescription
IdStringMandatory,
Maximum length 36
A unique attachment identifier.
SenderSenderMandatoryInformation about a person who added the attachment.
NameStringMandatoryThe attachment name.
MimeTypeStringMandatoryThe attachment type.
SizeLongMandatoryThe file size in bytes.
SentAtDateTimeMandatoryThe date when the attachment was sent.

BulkActionError

Describes a bulk action error.

NameTypeVerificationDescription
CodeErrorCodeMandatoryThe error code.
MessageStringMandatory,
Maximum length 1000
The error text.

BulkActionResult

Description of a result of a bulk action.

NameTypeVerificationDescription
WorkOrderIdIntMandatoryIdentifier of a work order.
ErrorBulkActionErrorOptionalDescription of an error.
Is available only if a work order failed to be processed.

CheckListItem

Аn item to be checked as work is done. Used in actions which modify check list properties.

NameTypeVerificationDescription
IdIntMandatoryIdentifier of an item to be checked.
CommentStringOptional,
Maximum length 512
A comment provided by a provider about the checklist item.
ExceptionStringOptional,
Maximum length 256
Text of the exception. Additional information provided by the provider for the checklist item.
IsDoneBoolMandatoryWhen true, indicates that the work is completed.

CheckListItemDescriptor

Describes an item to be checked as work is done. Used in actions which retrieve state of a check list.

NameTypeVerificationDescription
IdIntMandatoryIdentifier of an item to be checked.
SortingIndexIntMandatoryIndex for ordering items in the checklist.
DescriptionStringMandatory,
Maximum length 512
Description of an activity or a check to be done.
CommentStringOptional,
Maximum length 512
A comment provided by a provider about the checklist item.
ExceptionStringOptional,
Maximum length 256
Text of the exception. Additional information provided by the provider for the checklist item.
IsDoneBoolMandatoryWhen true, indicates that the work is completed.

CompletionDetails

Describes work order completion details.

CompletedOnDateTimeOptionalDate and time of work order completion.
RepairCategoryIdIntOptionalSelected repair category id.
RepairCategoryStringOptionalSelected repair category name.
RepairCodeIdIntOptionalSelected repair code id.
RepairCodeStringOptionalSelected repair code name.
CommentStringOptionalOptional Completion comment.
CustomFieldsCustomFieldOptionalList of available custom fields with their values.

Contact

A contact is the person requesting the work.

NameTypeVerificationDescription
FullNameStringMandatory,
Maximum length 100
Name of a person who created a request.
ContactAtStringMandatory,
Maximum length 512
The contact information represented as a single string (email, phone).
PhonesString[]OptionalA parsed phone part from the ContactAt.
It can also include additional phone numbers not listed in the ContactAt.
EmailsString[]OptionalA parsed email part from the ContactAt.
It can also include additional emails not listed in the ContactAt.

CruMember

Information about a technician.

NameTypeVerificationDescription
IdIntMandatoryA cru member identifier.
NameStringMandatory,
Maximum length 100
The cru member name.
PhoneSringMandatoryThe cru member phone.

CustomerDetails

The customer corresponds to the company that has sent you the work order, e.g. Safeway, Wells Fargo, etc.

NameTypeVerificationDescription
IdIntMandatoryA unique identifier of a customer in Corrigo.
NameStringMandatory,
Maximum length 256
The customer name.
BranchIdsInt[]OptionalUnique identifiers of your branches to which this customer is connected.

CustomField

Additional field that can be required for completion of a work order.

NameTypeVerificationDescription
IdIntMandatoryCorresponds to a CustomFieldDescriptor.Id.
ValuestringMandatory,
Maximum length 1024
Value of a custom field set by the provider.

The provided value must meet the requirements defined by the CustomFieldDescriptor.

(Note: Custom field values are case-sensitive.)

CustomFieldDescriptor

Detailed description of an additional field required for completion of a work order.

NameTypeVerificationDescription
IdIntMandatoryThe identifier of a custom field in a customer system.
LabelTextStringMaximum length 50A name of the custom field.
IsRequiredBoolMandatoryIf true, the custom field value is required.
DataLengthIntMandatoryLength of a value that can be entered in the custom field.
ValuesString[]OptionalIf available, the custom field must be one of the values from this list.
TypeValueTypeMandatoryThe custom field value data type.
CurrencyStringOptional,
Maximum length 3
ISO 4217 alphabetic currency code. This parameter is required if the Type is Money.

DateRange

Describes a date range.

NameTypeVerificationDescription
FromDateTimeMandatoryDate and time when an event starts.
ToDateTimeMandatoryDate and time when the event completes.

EditableInvoice

InvoiceNumberStringOptional
Max length - 32
Invoice number. Mandatory for Invoice Submit.
InvoiceDateDateTimeOptionalInvoice Date.
Mandatory for Invoice Submit.
DiscountAmountDecimal (Money)OptionalOptional Discount.
ConcurrencyIdLongOptionalConcurrency identifier.
LineItemsLineItem[]OptionalList of line items

Equipment

Describes of a piece of equipment.

NameTypeVerificationDescription
IdIntMandatoryEquipment identifier in a customer system.
TypeEquipmentTypeMandatoryType of equipment.
EquipmentAssetIdIntOptional *Corresponds to the EquipmentAsset.Id in a customer system.
NameStringOptionalName or title of equipment.
CommentStringOptional,
Maximum length 1024
Additional information about equipment, such as S/N, model number, manufacturer, etc.
  • This field is mandatory if the Type = Existing.

EquipmentAsset

Describes predefined customer equipment.

NameTypeVerificationDescription
IdIntMandatoryIdentifier of a piece of equipment in a customer system.
NameStringMandatoryName of the piece of equipment.

EquipmentAttribute

A new value of an attribute of a predefined customer equipment.

NameTypeVerificationDescription
IdIntMandatoryIdentifier of an attribute descriptor in a customer system.
ValueStringMandatoryA value of the attribute of the piece of equipment.

EquipmentAttributeDescriptor

Describes an attribute of a piece of equipment.

NameTypeVerificationDescription
IdIntMandatoryAn attribute identifier in a customer system.
LabelTextStringMaximum length 50The attribute name.
ValueStringOptional,
Maximum length 1024
The current value of the attribute.
ValuesString[]OptionalIf available, the attribute value must be one of the values from this list.
TypeValueTypeMandatoryThe attribute value type.
HistoryAvailableBoolMandatoryIf true, the history of the attribute changes is available, and can be viewed.
If false, the history of changes is not tracked.
DataLengthIntMandatoryThe attribute value length.

EquipmentAttributeHistory

History of an attribute of the piece of equipment.

NameTypeVerificationDescription
TimeStampDateTimeMandatoryDate and time when the attribute was changed.
ValueStringMandatoryA value of the attribute.

EquipmentWorkedOn

Information about a piece of equipment to be added or updated in a work order.

NameTypeVerificationDescription
IdIntMandatoryCorresponds to the Field Id in a customer system.
It must be 0 when you add equipment to the work order.
TypeEquipmentTypeMandatoryEquipment type.
EquipmentAssetIdIntOptional *Corresponds to the EquipmentAsset.Id in a customer system.
CommentStringOptionalA field for entering information about piece of equipment, such as S/N, model number, manufacturer, etc.
AttributesEquipmentAttribute[]OptionalList of attributes of the piece of equipment.
  • This field is mandatory if the Type = Existing.

Feedback

Customer rating for completed work.

NameTypeVerificationDescription
TimeStampDateTimeMandatoryDate and time when a work order was evaluated.
ActorStringMandatoryName of a person who evaluated the work order.
CommentStringOptionalAn optional comment from an evaluator of the work order.
TypeFeedbackTypeMandatoryWork order evaluation result type.

GeoLocation

Geographic coordinates of a technician or subcontractor at the moment of checking in a work order.

NameTypeVerificationDescription
LatitudeFloat (double)Mandatory,
Minimum value -90,
Maximum value 90
Google geographic latitude.
LongitudeFloat (double)Mandatory,
Minimum value -180,
Maximum value 180
Google geographic longitude.

InputValidationError

Description of an invalid field of a request model.

NameTypeVerificationDescription
FieldNameStringMandatoryName of the invalid field.
For complex structure ‘.’ is used as separator for nested types.
Example: PerformedBy.Name
ErrorTypeInputErrorTypeMandatoryType of an error.
MessageStringMandatoryThe error message description.

Invoice

NameTypeVerificationDescription
InvoiceNumberStringOptional
Max length - 32
Invoice number. Mandatory for Invoice Submit.
InvoiceDateDateTimeOptionalInvoice Date.
Mandatory for Invoice Submit.
DiscountAmountDecimal (Money)OptionalOptional Discount.
ConcurrencyIdLongOptionalConcurrency identifier
LineItemsLineItem[]OptionalList of line items.
StatusInvoiceStatusMandatoryInvoice Status
TotalAmountDecimal (Money)MandatoryTotal Amount of invoice.
NteDecimal (Money)MandatoryNot To Exceed includes information approved quote.
IsPrebilledBooleanMandatoryIf true, an invoice should be submitted before the work order is accepted.
CustomerCommentDateTimeOptionalOptional comment.
CurrencyDateTimeMandatoryCurrency ISO three letter code.
LastUpdateDateDateTimeMandatoryLast Update Date.
SubmissionDeadlineDateTimeOptionalSubmit invoice before date.
HasAttachmentsBooleanMandatoryTrue if invoice has attachments.
PaymentDateDateTimeOptionalInvoice payment date (if invoice status is paid).
CheckNumberStringOptionalPayment check number (if invoice status is paid).
PaymentAmountDecimal (Money)OptionalInvoice payment amount (if invoice status is paid).

IVRInfo

Information for using Interactive Voice Response

IvrNumberStringOptionalPhone number to access IVR application
WonInfoStringOptionalAn optional customer-specific instructions
IvrCodeStringOptionalIVR code, usable only if IvrNumber is specified

InternalNote

Internal note object containing detailed information about the internal note history.

NameTypeVerificationDescription
InternalNoteTextStringMandatory, Max Length 3000Internal note field.
DtStampDateTimeMandatoryDate of note creation.
UpdatedByStringMandatoryPerson who changed an internal note.

LineItem

NameTypeVerificationDescription
IdIntOptional *Line item identifier in the CorrigoPro system (generated by the system)
CategoryLineItemCategoryRequiredLine item type
PriceListItemIdIntOptional **Customer price list item identifier
PriceListItemNameStringOptional **Customer price list item name
IsRateReadOnlyBoolOptional **If true, relevant price list item rate can not be changed by provider
DescriptionStringOptional ***Line item description
QuantityDecimalRequiredLine item quantity. For Labor type represents a fractional number of hours
RateDecimal (Money)RequiredCost per line item unit. Currency is taken from Workorder.Currency
TaxCodeStringOptionalTax code of related tax to the PriceListItem or TaxItem as self.

* Required to edit an existing item. Must be empty to add a new item
** Required if Category = PriceList
*** Optional during invoice edit. Required during invoice submit.

MessageHeader

A Message header is present in all WebHook notifications. Its Action indicates what was changed.

NameTypeVerificationDescription
WorkOrderIdintMandatoryUnique identifier (Id) of Work Order in the CorrigoPro system.
BranchIdintMandatoryIdentifier of the Provider Branch to which this Work Order was sent. You may find it in CorrigoPro Desktop.
SenderSenderMandatoryInformation about person who changed a Work Order.
ActionActionsMandatoryAction type.
ActionDateDateTimeMandatoryDate of an action.
ApiVersionstringMandatory,
Maximum length 50
CorrigoPro Direct API version.
MessageIdstringMandatory,
Maximum length 36
Unique message identifier.

NTE

Describes a quote amount request.

NameTypeVerificationDescription
AmountDecimal (Money)MandatoryNot to exceed amount.
When set to 0, NTE is not applied.
QuoteQuoteOptionalIs available if the quote is submitted by a provider.
IsQuoteMultilineBoolOptionalFlag to show if NTE is applicable to line item

(true) or work order (false).
DtLastUpdateDateTimeOptionalNTE last updated date.

Participants

A list of participants to be assigned or unassigned to work orders.

NameTypeVerificationDescription
SubcontractorIdsint[]Optional *Identifiers of subcontractors. To retrieve these identifiers, call the GET - api/associates method, and review the Response.Subcontractors.Id.
ProMemberIdsint[]Optional *Identifiers of CorrigoPro cru members.
To retrieve these identifiers, call the GET - api/associates method, and review the Response.CruMembers.Id.
  • At least one of the fields must be provided and must contain at the least one item.

PerformedBy

Information about a person who performs an operation.

NameTypeVerificationDescription
NameStringMandatory,
Maximum length 100
Name of a person who performs the operation.
PhoneStringOptional,
Valid phone number
Phone number of the person who performs the operation.

Placemark

Information about location of service requested in a work order.

NameTypeVerificationDescription
OccupantIDIntMandatoryIdentifier of an occupant (tenant) in your customer's system.

(Note: This is 0 for all work orders created before 2017-10-13.)
AddressAddressOptionalAddress of the placemark.
GeoGeoLocationMandatoryThe geographic coordinates of the placemark.
OccupantNameStringOptional,
Maximum length 64
Name of an occupant (tenant) in your customer's system.
SpaceNamestringOptionalName of a space in your customer's system.

(Note: This will be null for work orders created before 2017-12-07.)
SpaceIdintOptionalSpace identifier in your customer's system.

(Note: This will be null for work orders created before 2017-12-07.)

📘

Additional Information on Placemarks

Both the Occupant and Space should be considered when using Placemark Locations. Neither is a unique identifier alone.

An OccupantID is unique per customer, but is not guaranteed to be unique among different customers.

A Space is considered to be specific area for the occupant. Depending on the customer, this could be a room name or number, a floor, or even an area of a room or floor. It is possible for a customer to reuse a Space (ID and Name) for another occupant. A Space cannot be assumed to be unique on its own.

Because a Space is location for an Occupant, you may receive work orders that use the same OccupantID, but with differing SpaceIds.

It is important to consider the Customer, Occupant, and Space when storing or mapping Landmarks to your own systems.

Procedure

NameTypeVerificationDescription
IdIntMandatoryProcedure identifier in a customer system
OrderIntMandatoryProcedure order in work order
NameStringOptionalProcedure name
AllowMarkNotApplicableboolMandatoryWhen true, indicates that the procedure can be mark as not applicable
StatusProcedureStatusMandatoryStatus of procedure
AssetAssetOptionalCorresponds to the Asset in a customer system
StepsStepDescriptor[]OptionalList of steps

ProcedureUpdates

VerificationDescription
ProcedureProcedureMandatoryNew information about procedures.
UpdateTypeUpdateProcessTypeMandatorySpecify that procedure was removed, added or changed.

Quote

A request from a provider to increase NTE amount.

NameTypeVerificationDescription
AmountDecimal (Money)MandatoryIf the quote is approved by a customer, the WorkOrder.Nte.Amount becomes equal to the quoted amount.
QuoteStatusQuoteStatusMandatoryA status of the request.
CommentStringMandatory,
Maximum length 3072
Descriptive text with a reason why the provider needs to increase the NTE.
RejectionReasonStringOptionalQuote rejection reason.
DiscountAmountDecimal (Money)OptionalCalculated discount amount.
DiscountTypeDiscountTypeOptionalType of discount.
QuoteLineItemsQuoteLineItem[]OptionalThe list of quote items added to the work order. Array

RepairCategory

Describes a repair category of a customer.

NameTypeVerificationDescription
IdIntMandatoryIdentifier of a repair category in a customer system.
NameStringMandatory,
Maximum length 50
A repair category name.
CodesRepairCodeOptionalA code of the repair category.
If the AreRepairCodesAvailable is set to false in customer settings, the codes list is not available.
Call GET - /api/customerSettings to check the value for AreRepairCodesAvailable.

RepairCode

Describes a repair code name.

NameTypeVerificationDescription
IdIntMandatoryIdentifier of a repair code in a customer system.
NameStringMandatory,
Maximum length 50
A repair code name.

RepairInfo

Description of a repair category and code information.

NameTypeVerificationDescription
CodeIdIntOptional *Selected repair code identifier.
CategoryIdIntMandatorySelected repair category identifier.
CodeStringOptional *Selected repair code name.
CategoryStringMandatorySelected repair category name.

* Can be mandatory if IsRepairCodeRequired is set to true in the customer settings. Call GET - /api/customerSettings to check the value of IsRepairCodeRequired.

RepairInfoHeader

Describes a repair category and code identifiers.

NameTypeVerificationDescription
CodeIdIntOptionalIdentifier of a selected repair code.
CategoryIdIntMandatorySelected repair category identifier.

Sender

Information about a person who performed an action or sent a message.

NameTypeVerificationDescription
NamestringMandatory,
Maximum length 100
Name of a person who performed an action.
PhonestringOptional,
Valid phone number
A phone number of the person who performed the action.
TypeSenderTypeMandatoryDetermines application from which a message was sent.

SearchModel

Description of work orders search.
All search criteria are united with logical operator AND. Only Statuses criteria are united with logical operator OR.

Examples:
Created = {From: 2000-02-30T23:20:50.52Z, To: 2000-03-03T23:20:50.52Z} AND WorkOrderNumber = “JFH8920L48R”
Created = {From: 2000-02-30T23:20:50.52Z, To: 2000-03-03T23:20:50.52Z} AND ( Statuses = “New” OR Statuses = “Accepted”).

NameTypeVerificationDescription
WorkOrderNumberStringOptional,
Maximum length 50
Search for work orders where work order number contains a provided value.
CustomerIdIntOptionalIdentifier of a customer from whom the work order is received.
BranchIdIntOptionalIdentifier of the branch the work order is sent to.
CreatedDateRangeOptional,
Maximum range 30 days *
Work order creation date range.
AcknowledgeByDateRangeOptional,
Maximum range 30 days *
Work orders that should be accepted/ rejected within the provided Date Range.
OnSiteByDateRangeOptional,
Maximum range 30 days *
Work orders that should be started within the provided DateRange.
DueDateDateRangeOptional,
Maximum range 30 days *
Work orders that should be completed within the provided DateRange.
LastUpdateDateRangeOptional,
Maximum range 30 days *
Work orders that were changed within the provided DateRange.
StatusesStatusOptionalList of work order statuses.
  • Semi-optional: at least of of these fields must be provided.

ScheduleInfo

Information about work schedule.

NameTypeVerificationDescription
ScheduledStartDateTimeOptionalScheduled start date of a work order.
PtePTEMandatoryPermission To Enter describes what a technician must do before arriving on site.

SLA

Service Level Agreement includes information about priority and deadlines of a work.

NameTypeVerificationDescription
DueDateDateTimeOptionalWork order completion deadline.
OnSiteByDateTimeOptionalWork order start deadline.
AcknowledgeByDateTimeOptionalAccept/ reject deadline date.
PriorityIdIntMandatoryIdentifier of the priority.
PriorityNameStringMandatory,
Maximum length 40
Work order priority.
IsEmergencyBoolMandatoryIndicates if the work order is an emergency case.

Step

NameTypeVerificationDescription
IdIntMandatoryStep identifier in a customer system.
StatusProcedureStatusMandatoryStatus of step.
ValueStringOptionalA value of the step.
CommentStringOptionalA comment of the step.
CurrencyStringOptionalISO 4217 alphabetic currency code.

StepAttachment

Represents attachment to a procedure step.

NameTypeVerificationDescription
IdStringMandatoryA unique attachment identifier.
NameStringMandatoryThe Attachment name.
MimeTypeStringMandatoryThe attachment type.

StepDescriptor

NameTypeVerificationDescription
IdIntMandatoryStep identifier in a customer system.
StatusProcedureStatusMandatoryStatus of step.
ValueStringOptionalA value of the step.
CommentStringOptionalA comment of the step.
CurrencyStringOptionalISO 4217 alphabetic currency code.
OrderIntMandatoryStep order in procedure
IsRequiredboolMandatoryWhen true, indicates that it is required to complete this step.
DescriptionStringOptionalA description of the step.
StepTypeStepTypeMandatoryType of step.
FlagReasonStringOptionalA flag reason of the step.
LabelStringOptionalA label of the step.
DataTypeValueTypeOptionalThe step value data type

StepDetails

NameTypeVerificationDescription
IdIntMandatoryStep identifier in a customer system.
InstructionsStringOptionalA instructions of the step
OptionsString[]OptionalIf available, the step must be one of the values from this list.
IsNaBoolMandatoryWhether the value of a step can be changed or not.

Subcontractor

Information about a subcontractor.

NameTypeVerificationDescription
IdIntMandatoryIdentifier of a subcontractor.
NameStringMandatory,
Maximum length 200
The subcontractor name.
PhoneStringMandatoryThe subcontractor phone.

TaxItemValidationResult

NameTypeVerificationDescription
CodeStringMandatoryTax code.
DescriptionStringMandatoryTax description or tax code if description is empty.
CalculatedAmountDecimalMandatoryNeeded tax amount per tax code.
TaxableAmountDecimalMandatoryInitial amount of corresponding invoice line item.
SubmittedAmountDecimalMandatorySubmitted tax amount per tax code.
CurrencyTypeStringMandatoryCurrency.
IsValidBoolMandatoryTax item validation flag.

TextMessage

Describes a message in text format.

NameTypeVerificationDescription
TextStringMandatory,
Maximum length 2000
Text of a message.
SentAtDateTimeMandatoryDate of an action.
SenderSenderMandatorySender of the message.

Visit

NameTypeVerificationDescription
IdIntOptionalVisit identifier.
CheckedInDateTimeOptionalDate and time of CheckedIn of the visit.
CheckedOutDateTimeOptionalDate and time of CheckedOut of the visit.
CheckInPhoneStringOptionalPhone number used for CheckIn.
CheckOutPhoneStringOptionalPhone number used for CheckOut.
CommentStringOptionalA comment of the visit.
CheckInActorStringOptionalName of a person who evaluated CheckIn.
CheckOutActorStringOptionalName of a person who evaluated CheckOut.
IsCustomerVisitBoolOptionalWhen true, indicates that the visit created by the customer.
VisitStatusVisitStatusOptionalVerification status of visit.
VerificationCommentStringOptionalA comment provided by the customer about the visit verification.
VerificationCommentAuthorStringOptionalName of a person who provided verification comment.
VisitCommentAuthorStringOptionalName of a person who provided visit comment.
DtCreatedDateTimeOptionalCreation date of the visit.
CheckInWeatherStringOptionalWeather forecast during CheckIn.
CheckOutWeatherStringOptionalWeather forecast during CheckOut.
VisitProvidedServicesVisitProvidedService[]OptionalVisit services that were provided.

VisitInfo

NameTypeVerificationDescription
VisitsVisit[]OptionalList of Visits
VisitWoDetailsVisitWoDetailsOptionalVisit Work Details.
VisitServicesVisitServices[]OptionalVisit service Financial Details.

VisitProvidedService

NameTypeVerificationDescription
ServiceIdIntOptionalService identifier.
VerificationDoubleOptionalAmount of credit for Visit.
NameStringOptionalThe service name.

VisitWoDetails

NameTypeVerificationDescription
IvrCodeStringOptionalIVR code, usable only if IvrNumber is specified.
InstructionStringOptionalInstruction for visit.
MaxNumberOfVisitsIntOptionalMax number of possible visits.
WindowScheduleWindowScheduleOptionalSchedule for visits.
DtStartDateTimeOptionalStart of the time period covered by visits schedule.
DtEndDateTimeOptionalEnd of the time period covered by visits schedule.
WeatherForecastStringOptionalOptional element containing WO trigger event information supplied by third-party application, such as weather forecast.

VisitServices

NameTypeVerificationDescription
IdIntOptionalVisit service identifier.
RateDecimal (Money)OptionalService rate.
MoneyCultureStringOptionalThe money culture of currency data
NameStringOptionalName of a service.

WindowSchedule

NameTypeVerificationDescription
VisitDaysVisitDayOptionalA bitmask representing visits schedule.
LocalWindowStartStringOptionalStart of the arrival time window
WindowDurationInMinutesIntOptionalVisit time window duration in minutes.

WoActionInfo

NameTypeVerificationDescription
DtStampStringOptionalDate and time of action.
EventTypeStringOptionalType of Action Event.
DataActionWithCommentOptionalData of Event Action

WorkDetails

Details about services to be provided and procedures to be filled out.

NameTypeVerificationDescription
CheckListCheckListItemDescriptor[]OptionalItems to be checked during the work process.
AssetsAsset[]MandatoryInformation about services to be provided.
ProceduresProcedure[]OptionalProcedures with steps to be completed during the work process.
VisitInfoVisitInfoOptionalVisit work order information.

❗️

Deprecation Warning

Check lists are becoming Procedures for most Enterprise clients on March 22, 2018, and we discourage their usage.

WorkOrder

Provides a detailed description of a work order.

NameTypeVerificationDescription
WorkOrderNumberStringMandatory
Minimum length 16
Maximum length 32
An alphanumeric identifier of a work order in a customer system.
WorkOrderIdIntMandatory,
Is greater than 0
A unique identifier of a work order in the CorrigoPro system.
BranchIdIntMandatoryIdentifier of the Provider Branch to which this Work Order was sent. You may find it in CorrigoPro Desktop.
IVRInfoIVRInfoOptionalOptional IVR information.
ScheduleScheduleInfoMandatoryInformation about the work order schedule.
TypeWorkOrderTypeMandatoryThe work order type.
AccompanyingMessageStringMandatory,
Maximum length 3072
A descriptive summary of the work order provided by the requester.
NteNTEMandatoryNot To Exceed includes information about amount and quote request.
SlaSLAMandatoryService Level Agreement includes information about priority and term of execution work.
WorkDetailsWorkDetailsMandatoryDetails about services to be provided and procedures to be filled out.
CompletionDetailsCompletionDetailsOptionalOptional Comptetion Details information.
ContactContactOptionalInformation about a person who requested work.
ServiceLocationPlacemarkOptionalInformation about work location.
CustomerCustomerDetailsMandatoryInformation about a customer.
IsPrebilledBoolMandatoryIf true, an invoice should be submitted before the work order is accepted.
IsWarrantyBoolMandatoryIf true, the work order is possibly covered by warranty.
CreatedDateTimeMandatoryCreation date of the work order.
LastUpdateDateTimeMandatoryDate and time when the work order was last modified. This value changes if there are any changes in the work order data model.
When a work order is in New status, changes to the work order are not tracked, and the LastUpdate value corresponds to the Created value.
FeedbackFeedbackOptionalCustomer rating of completed work. The value is available only for work order in the Verified status.
StatusStatusMandatoryStatus of the work order.
CurrencyStringMandatory,
Length 3
ISO 4217 alphabetic currency code.
TimeZoneStringMandatoryInformation for the time zone of service location
WorkZoneNumberStringMaximum length 80Information for Work Zone Number of the service location
InternalNoteStringOptional, Max length 3000Internal note field.
AdditionalFieldsAdditionalFieldOptionalThe list of custom fields and their values. Array.
LastActionWoActionInfoOptionalWork order last action.
IsmStatusStringOptionalStatus of the Induction and Safety Management = [“NotRequired”, “Waiting”, “Started”, “Passed”, “ManuallyPassed”]

WorkOrderSearchResult

Provides basic description of a work order.

NameTypeVerificationDescription
WorkOrderNumberStringMandatory,
Maximum length 50
A unique alphanumeric identifier of a work order in a customer system.
WorkOrderIdIntMandatory,
Is greater than 0
A unique identifier of a work order in the CorrigoPro system.
TypeWorkOrderTypeMandatoryA type of the work order.
SlaSLAMandatoryService Level Agreement includes information about priority and term of execution of work.
StatusStatusMandatoryStatus of the work order.
CustomerCustomerDetailsMandatoryInformation about a customer.
LastUpdateDateTimeMandatoryDate and time when the work order was last modified. This value changes if there are any changes in work order data. When a work order is in New status, changes to the work order are not tracked, and the LastUpdate value corresponds to the Created value.
CreatedDateTimeMandatoryDate and time of creation of the work order.
InternalNoteStringOptional, Max Length 3000Internal note field.

What’s Next

Review the following topic as a reference for enumerations.