TMF621 v5 Resource Mappings

Before using the TMF621 v5 resource mappings, refer the following.

  • Define Picklist values for CaseTroubleTicket.Severity and the fields TicketType, Status, Priority, `Origin in Case entity. The values passed for these attributes in post payload must be present in the system. These are not validated.
  • Enable FLS read/edit for all the Case fields mentioned in the TroubleTicket resorce table for the User Profile.
  • These OrgPerms are required.
    • CommsCloud
    • Cases
  • The field CaseNumber is the unique identifier.
  • Add pick list values for the severity field of CaseTroubleTicket object.
TMF FieldField TypeTMF Definition
property
Is Mandatory as per TMForum?Is Supported?Supported MethodsSalesforce ObjectSalesforce MappingSalesforce DescriptionPrerequisites
idStringA string. Unique identifier of the trouble ticket.NoYesGETCaseCase.CaseNumberUnique Identifier for caseNA
hrefStringA string. Hyperlink, a reference to the trouble ticket entity.NoYesGETTMF Case URL + Case.CaseNumberSpecifies a unique referance of caseNA
descriptionStringA string. Description of the trouble or issue.YesYesGET, POSTCaseCase.DescriptionText area containing case descriptionNA
severityStringThe severity of the issue. Indicate the implication of the issue on the expected functionality e.g. of a system, application, service etc..
Severity values can be for example : Critical, Major, Minor
YesYesGET, POSTCaseTroubleTicket.severityCustom Picklist value specifiing case severity. Values like Critical, Major, Minor can be added to severity.The severity value should be present as Picklist value in the Org
ticketTypeStringA string. represent a business type of the trouble ticket.YesYesGET, POSTCaseCase.TypeSpecifies the Business Type of the caseThe ticketType value should be present as Picklist value in the Org
AttachmentObjectA list of attachment ref or values (AttachmentRefOrValue [*]). File(s) attached to the trouble ticket. e.g. pictur of broken device, scaning of a bill or charge.NoYesGET, POSTContentDocumentContentDocumentAttachment(s) associated with the caseNA
ChannelObjectA channel reference (ChannelRef). The channel that origin the trouble ticket.NoYesGET, POSTCaseCase.OriginSpecifies Case OriginThe Channel value should be present as Picklist in the Org
creationDateStringA date time (DateTime). The date on which the trouble ticket was created.NoYesGETCaseCase.CreatedDateCase created DateNA
lastUpdateStringA date time (DateTime). The date and time that the trouble ticked was last updated.NoYesGETCaseCase.LastModifiedDateCase Last Modified DateNA
NoteObjectA list of notes (Note [*]). The note(s) that are associated to the ticket.NoYesGET, POSTCaseCommentCaseCommentComment(s) associated with the caseNA
priorityStringA string. The priority of the trouble ticket and how quickly the issue should be resolved. Example: Critical, High, Medium, Low. The value is set by the ticket management system considering the severity, ticket type etcNoYesGET, POSTCaseCase.PrioritySpecifies Priority of CaseThe Priority value should be present as Picklist in the Org
RelatedEntityObjectA list of related entities (RelatedEntity [*]). An entity that is related to the ticket such as a bill, a product, etc. The entity against which the ticket is associated.NoYesGET, POSTAssetAssetAsset related to the caseAn existing Asset to be used
RelatedPartyObjectA list of related parties (RelatedParty [*]). The related party(ies) that are associated to the ticket.NoYesGET, POSTAccount / ContactAccount / ContactAcount or Contact related to the CaseAn existing Account / Contact to be used
resolutionDateStringA date time (DateTime). The date and time the trouble ticket was resolved.NoYesGETCaseCase.ClosedDateCase Resolution DateNA
statusStringA trouble ticket status type (TroubleTicketStatusType). The current status of the trouble ticket.NoYesGET, POSTCaseCase.StatusThe current status of caseThe Status value should be present as Picklist in the Org
statusChangeObjectA list of status changes (StatusChange [*]). The status change history that are associated to the ticket.Populated by the server.NoYesGETCase HistoryCase HistoryA List of status the case assumed till dateNA
statusChangeDateStringA date time (DateTime). The date and time the status changed.NoYesGETCase HistoryCase HistoryLatest case status change dateNA
TroubleTicketRelationshipObjectA list of trouble ticket relationships (TroubleTicketRelationship [*]). A list of trouble ticket relationships (TroubleTicketRelationship [*]). Represents a relationship
between trouble tickets.
NoYesGET, POSTCaseCase.parentIdSpecifies related Parent CaseAn Existing Case can be used for Parent relation
nameStringA string. Name of the trouble ticket, typically a short description provided by the user that create the ticket.NoYesGET, POSTCaseCase.SubjectName of the caseNA
ExternalIdentifierObjectA string. Additional identifier coming from an external system.NoYesCaseTroubleTicketCaseTroubleTicket.externalIdNANA
expectedResolutionDateStringA date time (DateTime). The expected resolution date determined by the trouble ticket system.NoYesGET, POSTCaseTroubleTicketCaseTroubleTicket.expectedResolutionDateNANA
@typeStringNAYesYesNANANA
requestedResolutionDateStringA date time (DateTime). The resolution date requested by the user.NoYesGET, POSTCaseTroubleTicketCaseTroubleTicket.RequestedResolutionDateNANA
StatusChangeHistoryStringA string. The reason for changing the status.NoYesNACase HistoryCase HistoryNANA
TMF Field NameIs Mandatory as per TMForum?TMF DescriptionSupported POSTSupported GETSalesforce Field NameSalesforce description
@typeYesWhen sub-classing, this defines the sub-class Extensible name.NoYesNANA
idYesIdentification of the entity within the external system.YesYesCaseTroubleTicket.ExternalIdRepresents an identifier of the external system, if this ticket is not originating from the current system.
TMF Field NameIs Mandatory as per TMForum?TMF DescriptionSupported POSTSupported GETSalesforce Field NameSalesforce Description
@typeYesType of the channelNoYesNADescribes the relation to this entity. Only value supported is Parent
idYesidentifier of the channel.YesYesRefer commentsUnique identifier of the Case
nameNoName of the channelYesYesCase.OriginNA
TMF Field NameIs Mandatory as per TMForum?DescriptionSupported POSTSupported GETSalesforce Field NameSalesforce description
relationshipTypeNoType of the Trouble Ticket relationship.NoYesNADescribes the relation to this entity. Only value supported is Parent
idYesUnique identifier of the Trouble Ticket.YesYesCase.CaseNumberUnique identifier of the Case
nameNoName of the Trouble TicketNoYesNANA
TMF Field NameIs Mandatory as per TMForum?TMF DescriptionSupported POSTSupported GETSalesforce Field NameSalesforce Description
partyOrPartyRole.@referredTypeNoThe actual type of the target instance when needed for disambiguationYesYesNANA
partyOrPartyRole.@typeYesA String. When sub-classing, this defines the sub-class Extensible name.YesYesNANA
partyOrPartyRole.idYesUnique identifier of a related entityYesYesAccount.Id or Contact.IdUnique identification of Account or Contact
partyOrPartyRole.nameNoName of the related entityYesYesAccount.Name or Contact.NameName of Account or Contact
roleYesRole played by the related partyYesYesNANA
@typeYesDefines for which resource result need to be mappid toNoYesNANA
partyOrPartyRole.hrefNoReference of the related entityNoYesNANA

NOTE:

  • Field partyOrPartyRole.id is mandatory (if this subresource is used in POST method).
  • Only field id is validated.
  • Field href if passsed must be consistent with id and @referredType or @type.
  • Field role has to be Account.Type or the String Contact.
TMF Field NameIs Mandatory as per TMForum?TMF DescriptionSupported POSTSupported GETSalesforce Field NameSalesforce Description
entity.@referredTypeYesThe actual type of the target instance when needed for disambiguationYesYesNASpecifies if the RelatedEntity is Asset or Disputedbill
entity.idYesUnique identifier of a related entityYesYesAsset.IdUnique idenfication of an Asset
entity.nameNoName of the related entityYesYesAsset.NameName of Product or Asset
roleYesThe role of an entityNoYesNANA
entity.hrefNoReference of the related entityNoYesNANA
@typeYesA String. When sub-classing, this defines the sub-class Extensible name.YesYesNANA
entity.@typeYesA String. When sub-classing, this defines the sub-class Extensible name.YesYesNANA

NOTE:

  • Field id is mandatory.
  • Payload can have multiple assets but single asset is considered.

This is mapped to Salesforce entity: CaseComment.

TMF Field NameIs Mandatory as per TMForum?TMF DescriptionSupported POSTSupported GETSalesforce MappingSalesforce Description
authorNoAuthor of the noteNoYesCreatedByIdAuthor of the CaseComment
dateNoDate of the noteNoYesCreatedDateComment created Date
idNoIdentifier of the note within its containing entityNoYesIDUnique identification of CaseComment
textYesText of the noteYesYesCommentBodyContent of the comment
@typeNoDefines for which resource result need to be mappid toYesYesNANA
TMF Field NameIs Mandatory as per TMForum?DescriptionSupported POSTSupported GETSalesforce Mapping
(ContentVersion)
Salesforce Description
idYesA string. Unique identifier for this particular attachment.NoYesIdUnique identifier for Content Version
urlNoA string. Uniform Resource Locator, is a web page address (a subset of URI).YesYesContentUrlUrl of the content
nameNoA string. The name of the attachment.YesYesTitleTitle of the Content Version
attachmentTypeYesA string. Attachment type such as video, picture.NoYesFileTypeFileType for the content uploaded
@typeYesA string. The actual type of the target instance when needed for disambiguation.NoYesNANA
descriptionNoA string. A narrative text describing the content of the attachment.YesYesdescriptionDescription of the Content Version
mimeTypeYesA string. Attachment mime type such as extension file for video, picture and document.NoYesPathOnClientmime Type

NOTE:

  • Any values sent for attributes id, attachmentType, mimeType, and @type in POST payload are ignored. They are automatically generated by POST method and are present in the GET method as well.
  • ContentDocumentLink holds the link between the Case and ContentVersion/ContentDocument. ContentDocument is created along with the ContentVersion. Fetch the ContentDocumentId and insert a ContentDocumentLink.

This is mapped to Salesforce entity: CaseHistory.

TMF Field NameIs Mandatory as per TMForum?TMF DescriptionSupported POSTSupported GETSalesforce MappingSalesforce Description
statusNoStatus of the troubleticketNoYesCaseHistory.NewValuestatus of the troubleticket
statusChangeDateNoDate when the status changed from previous to current valueNoYesCaseHistory.CreatedDateDate when the status changed from previous to current value
statusChangeReasonNoReason for change in the statusNoNoNANA
@typeNoNANoYesNANA