Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Arguments for add:
netid of owner
nodename (needs to be unique, and NOT exist already in the system)
client category (DS,MW,WS)

charge code (charge_cd which comes back in a response to getBilling())
Client OS (Windows, Mac, Unix)
interval (backup time, or never)
PTAEO, passed as five separate strings

Note

  We need charge_cd as one of the input arguments. Should  - Added, db692
Should default server be used to create this CB node, client domain to default server mapping? Can it be fastTrack account? ---no.

Existing Oracle API:
FUNCTION createCBAccount (a_netid        IN VARCHAR2,
                            a_node_name    IN VARCHAR2,
                            a_policy_group IN VARCHAR2,
                            a_time_slot    IN VARCHAR2,
                            a_os           IN VARCHAR2,
                            a_charge_cd    IN NUMBER,
                            a_project      IN VARCHAR2,
                            a_task         IN VARCHAR2,
                            a_award        IN VARCHAR2,
                            a_org          IN VARCHAR2,
       a_fast_track   IN VARCHAR2)

This function will create a CB node on the default server.

...

None – I will backup manually
12:00AM – 12:29AM
12:30AM – 12:59AM
1:00AM – 1:29AM
1:30AM – 1:59AM
2:00AM – 2:29AM
2:30AM – 2:59AM
3:00AM – 3:29AM
3:30AM – 3:59AM
4:00AM – 4:29AM
4:30AM – 4:59AM
5:00AM – 5:29AM
5:30AM – 5:59AM
6:00AM – 6:29AM
6:30AM – 6:59AM
7:00AM – 7:29AM
7:30AM – 7:59AM
8:00AM – 8:29AM
8:30AM – 8:59AM
9:00AM – 9:29AM
9:30AM – 9:59AM
10:00AM – 10:29AM
10:30AM – 10:59AM
11:00AM – 11:29AM
11:30AM – 11:59AM
12:00PM - 12:29PM
12:30PM - 1:00PM
1:30PM - 1:59PM
2:00PM - 2:29PM
2:30PM - 2:59PM
3:00PM - 3:29PM
3:30PM - 3:59PM
4:00PM - 4:29PM
4:30PM - 4:59PM
5:00PM - 5:29PM
5:30PM - 5:59PM
6:00PM - 6:29PM
6:30PM - 6:59PM

7:30PM - 7:59PM
8:00PM - 8:29PM
8:30PM - 8:59PM
9:00PM - 9:29PM
9:30PM - 9:59PM
10:00PM - 10:29PM
10:30PM - 10:59PM
11:00PM - 11:29PM
11:30PM - 11:59PM 

We will encode these for passing back and forth as zero-padded, military time, first four characters of the string to the api:None
0000
0030
0100
0130
0200
0230
0300
0330
0400
0430
0500
0530
0600
0630
0700
0730
0800
0830
0900
0930
1000
1030
1100
1130

INCR0000
INCR0030
INCR0100
INCR0130
INCR0200
INCR0230
INCR0300
INCR0330
INCR0400
INCR0430
INCR0500
INCR0530
INCR0600
INCR0630
INCR0700
INCR0730
INCR0800
INCR0830
INCR0900
INCR0930
INCR1000
INCR1030
INCR1100
INCR1130
INCR1200
INCR1230
INCR1300
INCR1330
INCR1400
INCR1430
INCR1500
INCR1530
INCR1600
INCR1630

INCR1730
INCR1800
INCR1830
INCR1900
INCR1930
INCR2000
INCR2030
INCR2100
INCR2130
INCR2200
INCR2230
INCR2300
INCR2330

Note

Please use format INCR1130, INCR1100 etc. - Done, db692

Note

We've heard from Jim Owen that this list is incomplete. He is going to email us with the complete list. - List has been completed, db692

delete()

Arguments for delete:
netid of owner
nodename (needs to be unique, and exist)
datestamp for date to delete, formatted as Oracle date (31-JAN-132013). This is awkward for ServiceNow, but native for NetBill. Furthermore, ServiceNow already has a method that does formats months in this way for previous Oracle interactions.

Note

we don't need netid as input argument. confirm date format? ; at last meeting Rod said he would prefer a four-digit year. - db692

Existing Oracle API: FUNCTION expireCBAccount (a_node_name    IN VARCHAR2,   a_expire_date  IN DATE)

New ServiceNow API: FUNCTION expireCBAccountViaSN (a_node_name    IN VARCHAR2,   a_expire_date  IN DATE)  RETURN NUMBER

...

Note

existing oracle API:

FUNCTION getSrvcChargeInfo (a_netid             IN  VARCHAR2,
                              a_service_cd           IN  VARCHAR2,
                              a_expenditure_type  OUT VARCHAR2,
                              a_charge_code       OUT NUMBER,
                              a_student_indicator OUT VARCHAR2,
                              a_charge_code_name  OUT VARCHAR2,
                              a_ptaeo_required    OUT VARCHAR2)

Note

What is a_service_cd, and how should it be formatted?


getNodeList()

Arguments for getNodeList:
netid of owner

...