Berto2002 Posted February 10 Share Posted February 10 Morning, We are starting to use the API Scheduler. It seems to work but the Request gets logged without a Customer, despite us using what we think is the correct customerId. We even match the case (have tried lower and CamelCase). We use email address as the ID in all cases: Both the desired Customer (james) and the admin ID are Subscribers to the Service under which this is being created. Any help would be appreciated. Link to comment Share on other sites More sharing options...
Victor Posted February 13 Share Posted February 13 @Berto2002 can you post the full payload? EDIT: obv, obfuscate any personal/sensitive data Link to comment Share on other sites More sharing options...
JamesGreen Posted February 15 Share Posted February 15 { "APIKey": "key", "InstanceID": "instance", "Schedule": [{ "Enabled": true, "CronSchedule": "0 2 10 10 * 0-6", "DayOfMonthANDDayOfWeek":false, "ScheduleFrom": "2023-02-09T00:00:00.000Z", "ScheduleTo": "2030-02-09T00:00:00.000Z", "Service": "apps/com.hornbill.servicemanager/ServiceRequests", "API": "logServiceRequest", "APIParams":{ "0": { "Type":"Content", "Parameter":"summary", "Content":"ACTION TITLE" }, "1": { "Type":"Content", "Parameter":"description", "Content":"ACTION THIS" }, "2": { "Type":"Content", "Parameter":"RequestType", "Content":"Service Request" }, "3": { "Type":"Content", "Parameter":"customerId", "Content":"email@address" }, "4": { "Type":"Content", "Parameter":"teamId", "Content":"ICT_Infrastructure" }, "5": { "Type":"Content", "Parameter":"serviceId", "Content":"133" }, "6": { "Type":"Content", "Parameter":"catalogId", "Content":"1089" }, "7": { "Type":"Content", "Parameter":"catalogName", "Content":"API: Infrastructure Scheduled Requests" }, "8": { "Type":"Content", "Parameter":"bpmName", "Content":"sbc-infrastructure-alert-emails" } } }, { "Enabled": false, "CronSchedule": "0 2 10 10 * 0-6", "DayOfMonthANDDayOfWeek":false, "ScheduleFrom": "2023-02-09T00:00:00.000Z", "ScheduleTo": "2030-02-09T00:00:00.000Z", "Service": "apps/com.hornbill.servicemanager/ServiceRequests", "API": "logServiceRequest", "APIParams":{ "0": { "Type":"Content", "Parameter":"summary", "Content":"ACTION" }, "1": { "Type":"Content", "Parameter":"description", "Content":"ACTION" }, "2": { "Type":"Content", "Parameter":"RequestType", "Content":"Service Request" }, "3": { "Type":"Content", "Parameter":"customerId", "Content":"email@address" }, "4": { "Type":"Content", "Parameter":"teamId", "Content":"ICT_Infrastructure" }, "5": { "Type":"Content", "Parameter":"serviceId", "Content":"133" }, "6": { "Type":"Content", "Parameter":"catalogId", "Content":"1089" }, "7": { "Type":"Content", "Parameter":"catalogName", "Content":"API: Infrastructure Scheduled Requests" }, "8": { "Type":"Content", "Parameter":"bpmName", "Content":"sbc-infrastructure-alert-emails" } } } ] } Link to comment Share on other sites More sharing options...
Steve Giller Posted February 15 Share Posted February 15 @JamesGreen I've wrapped that in "Code" tags to make it easier to read. 1 Link to comment Share on other sites More sharing options...
Berto2002 Posted March 3 Author Share Posted March 3 @JamesGreen do you have your answer on this or need help still? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now