Update Customer Contact
put
https://server:port/spl/rest/apis/customer/interactions/customerContacts/{customerContactId}
This script handles the Integration Suite API to Update Customer Contact
Request
Path Parameters
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object
-
account: object
account
-
characteristics: object
characteristics
-
contactDateTime: string
(date-time)
Contact Date/Time displays the date and time that the contact was saved into the system..Example:
2017-04-05T14:25:43-04:00
-
contactDetail: object
contactDetail
Contact Detail ID is a system-assigned, unique identifier of the person contact associated with the customers preferred contact method.
-
customerContactEntity: string
Allowed Values:
[ "PER ", "PREM" ]
Indicates if customer contact is related to the customer as person-based or to a service location as premise-based. * `PER ` - Person, * `PREM` - PremiseExample:PER
-
customerContactId: string
Maximum Length:
10
System-assigned, unique identifier of the customer contact recordExample:5774836290
-
customerContactStatus: string
Allowed Values:
[ "10 " ]
Open designates that the event or issue associated to the contact has not been resolved. For example, if a customer calls with a high bill complaint that can't be resolved immediately, you would turn on the Open switch and enter an appropriate entry in the Log. * `10 ` - Open -
customerContactType: object
customerContactType
-
letterPrintDateTime: string
(date-time)
The letter extract batch process will update the date and time that the letter was produced for sending.
-
letterTemplate: object
letterTemplate
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
-
logs: object
logs
-
longDescription: string
Maximum Length:
4000
Stores comments that can provide initial information about why the record was created and any other relevant text for historical reference purposes. -
person: object
person
-
preferredContactMethod: string
Allowed Values:
[ "C1PC", "EM ", "FAX ", "N/A ", "PH ", "POST", "SMS " ]
Preferred Contact Method indicates how the person prefers to be contacted. * `C1PC` - Person Contact, * `EM ` - Email, * `FAX ` - Fax, * `N/A ` - Not Applicable, * `PH ` - Phone, * `POST` - Postal, * `SMS ` - SMSExample:N/A
-
premise: object
premise
-
shouldPrintLetter: boolean
Adding a customer contact may cause a letter to be generated. You can set up a customer contact type to generate a form letter whenever a customer contact of this type is added. If the letter is going to be printed in the next batch run, the Print Letter switch is on. Turning the switch off removes the letter from being printed in the next batch run. This applies to letters that have never been printed and those that have been set to reprint.Example:
false
-
user: object
user
User ID of the user who created the contact.
-
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : account
Type:
Show Source
object
-
accountId: string
Maximum Length:
10
Account ID displays the account's unique, system-generated ID. The account must be associated to the person when the contact is created or updated. There should be no value if the Customer Contact Type indicates that an account is not allowed on customer contacts of this type.Example:5922116763
Nested Schema : contactDetail
Type:
object
Contact Detail ID is a system-assigned, unique identifier of the person contact associated with the customers preferred contact method.
Show Source
-
contactDetailId: string
Maximum Length:
10
Person Contact
Nested Schema : customerContactType
Type:
Show Source
object
-
contactClass: string
Maximum Length:
4
Contact Class categorizes customer contacts into larger groupings for reporting purposes.Example:CSS
-
contactType: string
Maximum Length:
12
Every customer contact has a Contact Type that classifies the record for reporting purposes. Every contact type, in turn, references a Contact Class. The customer contact type controls the relationship validation among person, account, and premise. You can set up a customer contact type to generate a form letter whenever a customer contact of this type is added. In fact, this is the only way to generate a letter in the system.Example:ACCESS
Nested Schema : letterTemplate
Type:
object
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
Show Source
-
letterTemplate: string
Maximum Length:
12
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
Nested Schema : person
Type:
Show Source
object
-
personId: string
Maximum Length:
10
Person ID displays the associated person's unique, system-generated ID. If the customer contact is Person-based the Person ID cannot be changed. There should be no value if the Customer Contact Type indicates that a person is not allowed on customer contacts of this type.Example:5775933103
Nested Schema : premise
Type:
Show Source
object
-
premiseId: string
Maximum Length:
10
Premise ID field displays the associated premise's unique, system-generated ID. If the customer contact is Premise-based the Premise ID cannot be changed. There should be no value if the Customer Contact Type indicates that a premise is not allowed on customer contacts of this type.
Nested Schema : user
Type:
object
User ID of the user who created the contact.
Show Source
-
userId: string
Maximum Length:
8
User
Nested Schema : items
Type:
Show Source
object
-
characteristicType: object
characteristicType
-
characteristicValue: object
characteristicValue
-
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : characteristicType
Type:
Show Source
object
-
characteristicType: string
Maximum Length:
8
Characteristic Type
Nested Schema : characteristicValue
Type:
Show Source
object
-
_link: string
(_link)
-
value: string
(value)
-
value2: string
(value2)
-
value3: string
(value3)
-
value4: string
(value4)
-
value5: string
(value5)
Nested Schema : items
Type:
Show Source
object
-
assignedToUser: object
assignedToUser
-
logEntry: string
Maximum Length:
2000
Log Entry can be used to describe the reason for the log entry. -
toDoRole: object
toDoRole
-
triggerBusinessProcess: boolean
Trigger Business Process is a true or false value for reminders.
-
triggerDate: string
(date)
Trigger Date is only used if you want the system to remind a user about this customer contact on a future date. The system will create a To Do entry to remind the user about the customer contact. This value defines the latest date on which the To Do entry should be created because the background process that's responsible for creating these To Do entries has a parameter called Lead Time that is used to define the number of days before the Trigger Date that the To Do entry should be created.
-
user: object
user
-
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : assignedToUser
Type:
Show Source
object
-
assignedToUserId: string
Maximum Length:
8
User
Root Schema : schema
Type:
Show Source
object
-
account: object
account
-
characteristics: object
characteristics
-
contactDateTime: string
(date-time)
Contact Date/Time displays the date and time that the contact was saved into the system..Example:
2017-04-05T14:25:43-04:00
-
contactDetail: object
contactDetail
Contact Detail ID is a system-assigned, unique identifier of the person contact associated with the customers preferred contact method.
-
customerContactEntity: string
Allowed Values:
[ "PER ", "PREM" ]
Indicates if customer contact is related to the customer as person-based or to a service location as premise-based. * `PER ` - Person, * `PREM` - PremiseExample:PER
-
customerContactId: string
Maximum Length:
10
System-assigned, unique identifier of the customer contact recordExample:5774836290
-
customerContactStatus: string
Allowed Values:
[ "10 " ]
Open designates that the event or issue associated to the contact has not been resolved. For example, if a customer calls with a high bill complaint that can't be resolved immediately, you would turn on the Open switch and enter an appropriate entry in the Log. * `10 ` - Open -
customerContactType: object
customerContactType
-
letterPrintDateTime: string
(date-time)
The letter extract batch process will update the date and time that the letter was produced for sending.
-
letterTemplate: object
letterTemplate
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
-
logs: object
logs
-
longDescription: string
Maximum Length:
4000
Stores comments that can provide initial information about why the record was created and any other relevant text for historical reference purposes. -
person: object
person
-
preferredContactMethod: string
Allowed Values:
[ "C1PC", "EM ", "FAX ", "N/A ", "PH ", "POST", "SMS " ]
Preferred Contact Method indicates how the person prefers to be contacted. * `C1PC` - Person Contact, * `EM ` - Email, * `FAX ` - Fax, * `N/A ` - Not Applicable, * `PH ` - Phone, * `POST` - Postal, * `SMS ` - SMSExample:N/A
-
premise: object
premise
-
shouldPrintLetter: boolean
Adding a customer contact may cause a letter to be generated. You can set up a customer contact type to generate a form letter whenever a customer contact of this type is added. If the letter is going to be printed in the next batch run, the Print Letter switch is on. Turning the switch off removes the letter from being printed in the next batch run. This applies to letters that have never been printed and those that have been set to reprint.Example:
false
-
user: object
user
User ID of the user who created the contact.
-
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : account
Type:
Show Source
object
-
accountId: string
Maximum Length:
10
Account ID displays the account's unique, system-generated ID. The account must be associated to the person when the contact is created or updated. There should be no value if the Customer Contact Type indicates that an account is not allowed on customer contacts of this type.Example:5922116763
Nested Schema : contactDetail
Type:
object
Contact Detail ID is a system-assigned, unique identifier of the person contact associated with the customers preferred contact method.
Show Source
-
contactDetailId: string
Maximum Length:
10
Person Contact
Nested Schema : customerContactType
Type:
Show Source
object
-
contactClass: string
Maximum Length:
4
Contact Class categorizes customer contacts into larger groupings for reporting purposes.Example:CSS
-
contactType: string
Maximum Length:
12
Every customer contact has a Contact Type that classifies the record for reporting purposes. Every contact type, in turn, references a Contact Class. The customer contact type controls the relationship validation among person, account, and premise. You can set up a customer contact type to generate a form letter whenever a customer contact of this type is added. In fact, this is the only way to generate a letter in the system.Example:ACCESS
Nested Schema : letterTemplate
Type:
object
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
Show Source
-
letterTemplate: string
Maximum Length:
12
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
Nested Schema : person
Type:
Show Source
object
-
personId: string
Maximum Length:
10
Person ID displays the associated person's unique, system-generated ID. If the customer contact is Person-based the Person ID cannot be changed. There should be no value if the Customer Contact Type indicates that a person is not allowed on customer contacts of this type.Example:5775933103
Nested Schema : premise
Type:
Show Source
object
-
premiseId: string
Maximum Length:
10
Premise ID field displays the associated premise's unique, system-generated ID. If the customer contact is Premise-based the Premise ID cannot be changed. There should be no value if the Customer Contact Type indicates that a premise is not allowed on customer contacts of this type.
Nested Schema : user
Type:
object
User ID of the user who created the contact.
Show Source
-
userId: string
Maximum Length:
8
User
Nested Schema : items
Type:
Show Source
object
-
characteristicType: object
characteristicType
-
characteristicValue: object
characteristicValue
-
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : characteristicType
Type:
Show Source
object
-
characteristicType: string
Maximum Length:
8
Characteristic Type
Nested Schema : characteristicValue
Type:
Show Source
object
-
_link: string
(_link)
-
value: string
(value)
-
value2: string
(value2)
-
value3: string
(value3)
-
value4: string
(value4)
-
value5: string
(value5)
Nested Schema : items
Type:
Show Source
object
-
assignedToUser: object
assignedToUser
-
logEntry: string
Maximum Length:
2000
Log Entry can be used to describe the reason for the log entry. -
toDoRole: object
toDoRole
-
triggerBusinessProcess: boolean
Trigger Business Process is a true or false value for reminders.
-
triggerDate: string
(date)
Trigger Date is only used if you want the system to remind a user about this customer contact on a future date. The system will create a To Do entry to remind the user about the customer contact. This value defines the latest date on which the To Do entry should be created because the background process that's responsible for creating these To Do entries has a parameter called Lead Time that is used to define the number of days before the Trigger Date that the To Do entry should be created.
-
user: object
user
-
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : assignedToUser
Type:
Show Source
object
-
assignedToUserId: string
Maximum Length:
8
User
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : C1-CustCntct
Type:
Show Source
object
-
_self: string
_self
-
account: object
account
-
characteristics: object
characteristics
-
contactDateTime: string
(date-time)
Contact Date/Time displays the date and time that the contact was saved into the system..Example:
2017-04-05T14:25:43-04:00
-
contactDetail: object
contactDetail
Contact Detail ID is a system-assigned, unique identifier of the person contact associated with the customers preferred contact method.
-
customerContactEntity: string
Allowed Values:
[ "PER ", "PREM" ]
Indicates if customer contact is related to the customer as person-based or to a service location as premise-based. * `PER ` - Person, * `PREM` - PremiseExample:PER
-
customerContactId: string
Maximum Length:
10
System-assigned, unique identifier of the customer contact recordExample:5774836290
-
customerContactStatus: string
Allowed Values:
[ "10 " ]
Open designates that the event or issue associated to the contact has not been resolved. For example, if a customer calls with a high bill complaint that can't be resolved immediately, you would turn on the Open switch and enter an appropriate entry in the Log. * `10 ` - Open -
customerContactType: object
customerContactType
-
letterPrintDateTime: string
(date-time)
The letter extract batch process will update the date and time that the letter was produced for sending.
-
letterTemplate: object
letterTemplate
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
-
logs: object
logs
-
longDescription: string
Maximum Length:
4000
Stores comments that can provide initial information about why the record was created and any other relevant text for historical reference purposes. -
person: object
person
-
preferredContactMethod: string
Allowed Values:
[ "C1PC", "EM ", "FAX ", "N/A ", "PH ", "POST", "SMS " ]
Preferred Contact Method indicates how the person prefers to be contacted. * `C1PC` - Person Contact, * `EM ` - Email, * `FAX ` - Fax, * `N/A ` - Not Applicable, * `PH ` - Phone, * `POST` - Postal, * `SMS ` - SMSExample:N/A
-
premise: object
premise
-
shouldPrintLetter: boolean
Adding a customer contact may cause a letter to be generated. You can set up a customer contact type to generate a form letter whenever a customer contact of this type is added. If the letter is going to be printed in the next batch run, the Print Letter switch is on. Turning the switch off removes the letter from being printed in the next batch run. This applies to letters that have never been printed and those that have been set to reprint.Example:
false
-
user: object
user
User ID of the user who created the contact.
-
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : account
Type:
Show Source
object
-
_link: string
_link
-
accountId: string
Maximum Length:
10
Account ID displays the account's unique, system-generated ID. The account must be associated to the person when the contact is created or updated. There should be no value if the Customer Contact Type indicates that an account is not allowed on customer contacts of this type.Example:5922116763
Nested Schema : contactDetail
Type:
object
Contact Detail ID is a system-assigned, unique identifier of the person contact associated with the customers preferred contact method.
Show Source
-
_link: string
_link
-
contactDetailId: string
Maximum Length:
10
Person Contact
Nested Schema : customerContactType
Type:
Show Source
object
-
contactClass: string
Maximum Length:
4
Contact Class categorizes customer contacts into larger groupings for reporting purposes.Example:CSS
-
contactType: string
Maximum Length:
12
Every customer contact has a Contact Type that classifies the record for reporting purposes. Every contact type, in turn, references a Contact Class. The customer contact type controls the relationship validation among person, account, and premise. You can set up a customer contact type to generate a form letter whenever a customer contact of this type is added. In fact, this is the only way to generate a letter in the system.Example:ACCESS
Nested Schema : letterTemplate
Type:
object
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
Show Source
-
_link: string
_link
-
letterTemplate: string
Maximum Length:
12
If the customer contact references a customer contact type that, in turn, references a letter template, the template controls the type of information that is merged into the 'form letter' and how the letter is physically produced.
Nested Schema : person
Type:
Show Source
object
-
_link: string
_link
-
personId: string
Maximum Length:
10
Person ID displays the associated person's unique, system-generated ID. If the customer contact is Person-based the Person ID cannot be changed. There should be no value if the Customer Contact Type indicates that a person is not allowed on customer contacts of this type.Example:5775933103
Nested Schema : premise
Type:
Show Source
object
-
_link: string
_link
-
premiseId: string
Maximum Length:
10
Premise ID field displays the associated premise's unique, system-generated ID. If the customer contact is Premise-based the Premise ID cannot be changed. There should be no value if the Customer Contact Type indicates that a premise is not allowed on customer contacts of this type.
Nested Schema : user
Type:
object
User ID of the user who created the contact.
Show Source
-
_link: string
_link
-
userId: string
Maximum Length:
8
User
Nested Schema : items
Type:
Show Source
object
-
characteristicType: object
characteristicType
-
characteristicValue: object
characteristicValue
-
typeOfCharacteristicValue: string
Maximum Length:
4
Type of Char Value -
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : characteristicType
Type:
Show Source
object
-
_link: string
_link
-
characteristicType: string
Maximum Length:
8
Characteristic Type
Nested Schema : characteristicValue
Type:
Show Source
object
-
_link: string
(_link)
-
value: string
(value)
-
value2: string
(value2)
-
value3: string
(value3)
-
value4: string
(value4)
-
value5: string
(value5)
Nested Schema : items
Type:
Show Source
object
-
assignedToUser: object
assignedToUser
-
creationDateTime: string
(date-time)
Create Date/Time
-
customerContactLogId: string
Maximum Length:
12
Customer Contact Log ID -
logEntry: string
Maximum Length:
2000
Log Entry can be used to describe the reason for the log entry. -
toDoRole: object
toDoRole
-
triggerBusinessProcess: boolean
Trigger Business Process is a true or false value for reminders.
-
triggerDate: string
(date)
Trigger Date is only used if you want the system to remind a user about this customer contact on a future date. The system will create a To Do entry to remind the user about the customer contact. This value defines the latest date on which the To Do entry should be created because the background process that's responsible for creating these To Do entries has a parameter called Lead Time that is used to define the number of days before the Trigger Date that the To Do entry should be created.
-
user: object
user
-
version: number
Minimum Value:
-99999
Maximum Value:99999
Version number is used for internal concurrency checks.Example:1
Nested Schema : assignedToUser
Type:
Show Source
object
-
_link: string
_link
-
assignedToUserId: string
Maximum Length:
8
User
Nested Schema : toDoRole
Type:
Show Source
object
-
_link: string
_link
-
toDoRoleId: string
Maximum Length:
10
To Do Role
Nested Schema : user
Type:
Show Source
object
-
_link: string
_link
-
userId: string
Maximum Length:
8
User
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60
Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60
URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60
Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60
URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.