1.62.0 • Published 3 years ago

junifer_au_native_api v1.62.0

Weekly downloads
-
License
Unlicense
Repository
-
Last release
3 years ago

junifer_au_native_api

JuniferAuNativeApi - JavaScript client for junifer_au_native_api Junifer Native Web API provided by the Gentrack Cloud Integration Services

How It Works

For how to prepare your application to call Junifer Native Web API, please refer to:

Sample of requesting contact details

The following is an example of calling get contact details API in UK region:

curl -X GET \\
    https://api-uk.integration.gentrack.cloud/v1/junifer/contacts/1010 \\
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6IjA2NDYxODczLTFlOWMtNGVkMy1iZWZkLTU3NGY5ZmEwYjExYyIsIm9yZ0lkIj
oiQzAwMDAiLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJpYXQiOjE1MzA1ODkwODcsImV4cCI6MTUzMDU5MjY4NywiaXNzIjoiaHR0cHM6Ly9hcGkuZ2VudHJhY2suaW8vIn0.WUAFYWTTEAy
Q0Bt4YXu-mxCXd-Y9ehwdZcYvcGNnyLTZH_hiJjtXWWfsx69M606pvCP6lLMT7MfK-F3E4rLO6KAlGsuz4A_7oVWQf4QNeR178GnwgmqQRw5OnLxwPbPrRa9nODngwGq8dcWejhmEYU6i
w02bvYdQBHnnsc3Kpyzw7Wdv_3jnBS4TPYS20muQOgG6KxRp9hLJM7ERLoAbsULwqdPOV8eUJJhGrq1NDuH_lA83YRDZmCWEzw96tSm3hb7y88kXs-4OvamnO1m5wFPBx69VximlS4Ltr
3ztqU2s3fHoj0OJLIafge9JvTgvuB6noHfs1uSRaahvstGJAA'

The sample of response is as follows.

{
   \"id\": 1010,
   \"contactType\": \"Business\",
   \"title\": \"Mr\",
   \"forename\": \"Tony\",
   \"surname\": \"Soprano\",
   \"email\": \"bigtone@didntseeanything.com\",
   \"dateOfBirth\": \"1959-08-24\",
   \"phoneNumber1\": \"44626478370\",
   \"address\":{
     \"address1\": \"633 Stag Trail Road\",
     \"address2\": \"North Caldwell\",
     \"address3\": \"New Jersey\",
     \"postcode\": \"NE18 0PY\"
   },
   \"links\": {
     \"self\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/contacts/1010\",
     \"accounts\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/contacts/1010/accounts\"
   }
}

General Rules/Patterns

Navigation

A links section is returned in most requests.

This section contains how to access the entity itself and, more importantly, how to access items related to the entity.

For example take the following response:

{
  \"id\": 1,
  \"name\": \"Mr Joe Bloggs\",
  \"number\": \"00000001\",
  \"surname\": \"Bloggs\",
  \"links\": {
    \"self\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/customers/1\"
  },
  \"accounts\": [
    {
      \"id\": 7,
      \"name\": \"Invoice\",
      \"number\": \"00000001\",
      \"currency\": \"GBP\",
      \"fromDt\": \"2013-05-01\",
      \"createdDttm\": \"2013-05-08T13:36:34.000\",
      \"balance\": 0,
      \"billingAddress\": {
        \"address1\": \"11 Tuppy Street\"
      },
      \"links\": {
        \"self\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/accounts/7\",
        \"customer\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/customers/1\",
        \"bills\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/accounts/7/bills\",
        \"payments\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/accounts/7/payments\"
      }
    }
  ]
}

The self URL in the links section can be used to access the entities listed in the response. In the above example there are self fields for the customer itself, and the accounts under this customer. There are other links under the account.

For example the above example contains links for the following:

  • bills – List of Bills for the Account
  • payments – List of Payments for the Account
  • customer – Link back to the Account’s Customer

About IDs

The id in the API requests (JSON payload and URL) and responses identifies the resource within the API. It has no business meaning or purpose, therefore shouldn't be exposed to the end user in any way.

As the IDs of the resources aren't sequential or aligned with any other resource IDs, it is highly recommended using the links section from the responses to navigate to other related resources. Given the example above, the customer with ID 1 links to the account with ID 7. The links section will populate the correct IDs in the URLs so none of the assumptions about related resource IDs need to be made by the implementer.

Accessing accounts by account number

Throughout this API, anywhere an account is accessed by its id (i.e. the URL includes /accounts/:id), it can also be accessed by its account number by replacing /accounts/:id with accounts/accountNumber/:num.

For example: the Create Account Credit endpoint, available at /accounts/:id/accountCredits, can also be accessed at /accounts/accountNumber/:num/accountCredits.

Standard data types in JSON

The standard data types are as follows:

  • String – Quoted as per JSON standard
  • Number – Unquoted as per JSON standard
  • Decimal – Unquoted as per JSON standard
  • Date – In the standard ISO format \"yyyy-MM-dd\"
  • DateTime – In the standard ISO format \"yyyy-MM-ddThh:mm:ss.SSS\" (no time zone component)
  • Boolean – Unquoted 'true' and 'false' are the only valid values

Ordering of data

Response representations are not ordered unless specified on a specific resource. Therefore, clients should be implemented to use the name of fields/objects as the key for accessing data.

For example in JSON objects are comprised of key/value pairs and clients should be implemented to search on the ‘key’ value rather than looking for the nth key/value pair in the object.

Changes of data

Response representations may change without warning in the following ways.

  • Additional key/value pairs may be added to an existing object
  • Additional sub-objects may be added to an existing object

These changes are considered non-breaking.

Therefore, clients should be implemented to consume only the data they need and ignore any other information.

Versioning

The API is usually changed in each release of Junifer. Navigate to different versions by clicking the dropdown menu in the top right of this web page.

Pagination

Some REST APIs that provide a list of results support pagination.

Pagination allows API users to query potential large data sets but only receive a sub-set of the results on the initial query. Subsequent queries can use the response of a prior query to retrieve the next or previous set of results.

Pagination functionality and behaviour will be documented on each API that requires it.

Pagination on existing APIs

Existing APIs may have pagination support added. In the future this pagination will become mandatory.

In order to facilitate API users planning and executing upgrades against the existing APIs, pagination is optional during a transition period. API users can enable pagination on these APIs by specifying the pagination query parameter. This parameter only needs to be present, the value is not required or checked. If this query parameter is specified, then pagination will be enabled. Otherwise, the existing non-paginated functionality, that returns all results, will be used.

API users must plan and execute upgrades to their existing applications to use the pagination support during the transition period. At the end of the transition period pagination will become mandatory on these APIs.

For new APIs that support pagination, it will be mandatory with the initial release of the API.

Ordering

The ordering that the API provides will be documented for each API.

An ordering is always required to ensure moving between pages is consistent.

Some APIs may define an ordering on a value or values in the response where appropriate. For example results may be ordered by a date/time property of the results.

Other APIs may not define an explicit ordering but will guarantee the order is consistent for multiple API calls.

Limiting results of each page

The desiredResults query parameter can be used to specify the maximum number of results that may be returned.

The APIs treat this as a hint so API callers should expect to sometimes receive a different number of results. APIs will endeavour to ensure no more than desiredResults are returned but for small values of desiredResults (less than 10) this may not be possible. This is due to how pages of data are structured inside the product. The API will prefer to return some data rather than no data where it is not possible to return less than desiredResults

If desiredResults is not specified the default maximum value for the API will be used. Unless documented differently, this value is 100.

If desiredResults is specified higher than the default maximum for the API a 400 error response will be received.

Cursors

The pagination provided by the APIs is cursor-based.

In the JSON response additional metadata will be provided when pagination is present.

  • after cursor points to the start of the results that have been returned
  • before cursor points to the end of the results that have been returned

These cursors can be used to make subsequent API calls. The API URL should be unchanged except for setting the before or after query parameter. If both parameters are specified, then an error 400 response will be received.

Cursor tokens must only be used for pagination purposes. API users should not infer any business meaning or logic from cursor representations. These representations may change without warning when Junifer is upgraded.

When scrolling forward the after cursor will be absent from the response when there are no more results after the current set.

When scrolling backwards the before cursor will be absent from the response when there are no more results before the current set.

In addition, a paginated response will include a next and previous URLs for convenience.

Best practices

The following best practices must be adhered to by users of the pagination APIs:

  • Don't store cursors or next and previous URLs for long. Cursors can quickly become invalid if items are added or deleted to the data set
  • If an invalid cursor is used, then a 404 response will be returned in this situation. API users should design a policy to handle this situation
  • API users should handle empty data sets. In limited cases a pagination query using a previously valid cursor may return no results

Example

This example is illustrative only.

A small desiredResults parameter has been used to make the example concise. API users should generally choose larger values, subject to the maximum value.

The following API call would retrieve the first set of results.

Request

https://api-uk.integration.gentrack.cloud/v1/junifer/uk/meterPoints/1/payg/balances?desiredResults=3 \\
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9....aahvstGJAA'

Response

{
  \"results\": [
    {
      \"snapshotDateTime\": \"2019-04-20T00:00:00.000\",
      \"creditBalance\": 109,
      \"emergencyCreditBalance\": 0,
      \"accumulatedDebtRegister\": 0,
      \"timeDebtRegister1\": 0,
      \"timeDebtRegister2\": 0,
      \"paymentDebtRegister\": 0
    },
    {
      \"snapshotDateTime\": \"2019-04-19T00:00:00.000\",
      \"creditBalance\": 108,
      \"emergencyCreditBalance\": 0,
      \"accumulatedDebtRegister\": 0,
      \"timeDebtRegister1\": 0,
      \"timeDebtRegister2\": 0,
      \"paymentDebtRegister\": 0
    },
    {
      \"snapshotDateTime\": \"2019-04-18T00:00:00.000\",
      \"creditBalance\": 107,
      \"emergencyCreditBalance\": 0,
      \"accumulatedDebtRegister\": 0,
      \"timeDebtRegister1\": 0,
      \"timeDebtRegister2\": 0,
      \"paymentDebtRegister\": 0
    }
  ],
  \"pagination\": {
    \"cursors\": {
      \"after\": \"107\"
    },
    \"next\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/uk/meterPoints/1/payg/balances?pagination=&desiredResults=3&after=107\"
  }
}

The results section contains the payload of the API.

The pagination section contains details needed to retrieve additional results.

API users can choose to use the next URL directly or use the after cursor token to construct the URL themselves.

The API call to query the next set of results would be

Request

https://api-uk.integration.gentrack.cloud/v1/junifer/uk/meterPoints/1/payg/balances?pagination=&desiredResults=3&after=107 \\
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9....aahvstGJAA'

Response

{
  \"results\": [
    {
      \"snapshotDateTime\": \"2019-04-17T00:00:00.000\",
      \"creditBalance\": 106,
      \"emergencyCreditBalance\": 0,
      \"accumulatedDebtRegister\": 0,
      \"timeDebtRegister1\": 0,
      \"timeDebtRegister2\": 0,
      \"paymentDebtRegister\": 0
    },
    {
      \"snapshotDateTime\": \"2019-04-16T00:00:00.000\",
      \"creditBalance\": 105,
      \"emergencyCreditBalance\": 0,
      \"accumulatedDebtRegister\": 0,
      \"timeDebtRegister1\": 0,
      \"timeDebtRegister2\": 0,
      \"paymentDebtRegister\": 0
    },
    {
      \"snapshotDateTime\": \"2019-04-15T00:00:00.000\",
      \"creditBalance\": 104,
      \"emergencyCreditBalance\": 0,
      \"accumulatedDebtRegister\": 0,
      \"timeDebtRegister1\": 0,
      \"timeDebtRegister2\": 0,
      \"paymentDebtRegister\": 0
    }
  ],
  \"pagination\": {
    \"cursors\": {
      \"before\": \"106\",
      \"after\": \"104\"
    },
    \"previous\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/uk/meterPoints/1/payg/balances?pagination=&before=106&desiredResults=3\",
    \"next\": \"https://api-uk.integration.gentrack.cloud/v1/junifer/uk/meterPoints/1/payg/balances?pagination=&desiredResults=3&after=104\"
  }
}

This time the response contains both before and after tokens and previous and next URLs. The before token or previous link can be used to navigate backwards in the results.

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.61.1
  • Package version: 1.61.1
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install junifer_au_native_api --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your junifer_au_native_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

git

If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var JuniferAuNativeApi = require('junifer_au_native_api');

var defaultClient = JuniferAuNativeApi.ApiClient.instance;
// Configure API key authorization: tokenAuth
var tokenAuth = defaultClient.authentications['tokenAuth'];
tokenAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//tokenAuth.apiKeyPrefix['Authorization'] = "Token"

var api = new JuniferAuNativeApi.AccountCreditsApi()
var id = 3.4; // {Number} Account credit ID number
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.juniferAccountCreditsIdDelete(id, callback);

Documentation for API Endpoints

All URIs are relative to https://api-au.integration.gentrack.cloud/v1

ClassMethodHTTP requestDescription
JuniferAuNativeApi.AccountCreditsApijuniferAccountCreditsIdDeleteDELETE /junifer/accountCredits/{id}Cancel account credit
JuniferAuNativeApi.AccountCreditsApijuniferAccountCreditsIdGetGET /junifer/accountCredits/{id}Get Account Credit
JuniferAuNativeApi.AccountDebitsApijuniferAccountDebitsIdDeleteDELETE /junifer/accountDebits/{id}Cancel account debit
JuniferAuNativeApi.AccountDebitsApijuniferAccountDebitsIdGetGET /junifer/accountDebits/{id}Get Account Debit
JuniferAuNativeApi.AccountsApijuniferAccountsAccountNumberNumGetGET /junifer/accounts/accountNumber/{num}Get account by account number
JuniferAuNativeApi.AccountsApijuniferAccountsGetGET /junifer/accountsAccount lookup
JuniferAuNativeApi.AccountsApijuniferAccountsIdAccountCreditsGetGET /junifer/accounts/{id}/accountCreditsGet account credits
JuniferAuNativeApi.AccountsApijuniferAccountsIdAccountCreditsPostPOST /junifer/accounts/{id}/accountCreditsCreate account credit
JuniferAuNativeApi.AccountsApijuniferAccountsIdAccountDebitsGetGET /junifer/accounts/{id}/accountDebitsGet account debits
JuniferAuNativeApi.AccountsApijuniferAccountsIdAccountDebitsPostPOST /junifer/accounts/{id}/accountDebitsCreate account debit
JuniferAuNativeApi.AccountsApijuniferAccountsIdAccountReviewPeriodsGetGET /junifer/accounts/{id}/accountReviewPeriodsGet account's review periods
JuniferAuNativeApi.AccountsApijuniferAccountsIdAccountReviewPeriodsPostPOST /junifer/accounts/{id}/accountReviewPeriodsCreate account review period
JuniferAuNativeApi.AccountsApijuniferAccountsIdAgreementsGetGET /junifer/accounts/{id}/agreementsGet account's agreements
JuniferAuNativeApi.AccountsApijuniferAccountsIdAllPayReferenceGetGET /junifer/accounts/{id}/allPayReferenceGet account's AllPay Reference Number
JuniferAuNativeApi.AccountsApijuniferAccountsIdBillRequestsGetGET /junifer/accounts/{id}/billRequestsGet account's bill requests
JuniferAuNativeApi.AccountsApijuniferAccountsIdBillsGetGET /junifer/accounts/{id}/billsGet account's bills
JuniferAuNativeApi.AccountsApijuniferAccountsIdCancelAccountReviewPeriodDeleteDELETE /junifer/accounts/{id}/cancelAccountReviewPeriodCancel account review period
JuniferAuNativeApi.AccountsApijuniferAccountsIdChangeAccountCustomerPutPUT /junifer/accounts/{id}/changeAccountCustomerChange the customer linked to an account
JuniferAuNativeApi.AccountsApijuniferAccountsIdCommercialProductDetailsGetGET /junifer/accounts/{id}/commercial/productDetailsGet account's product details for commercial customer
JuniferAuNativeApi.AccountsApijuniferAccountsIdCommunicationsGetGET /junifer/accounts/{id}/communicationsGet account's communications
JuniferAuNativeApi.AccountsApijuniferAccountsIdContactsContactIdPutPUT /junifer/accounts/{id}/contacts/{contactId}Update account's contact details
JuniferAuNativeApi.AccountsApijuniferAccountsIdContactsGetGET /junifer/accounts/{id}/contactsContacts
JuniferAuNativeApi.AccountsApijuniferAccountsIdCreditsGetGET /junifer/accounts/{id}/creditsGet account's credits
JuniferAuNativeApi.AccountsApijuniferAccountsIdEnrolMeterPointsPostPOST /junifer/accounts/{id}/enrolMeterPointsEnrol additional Meter Points to existing account/site
JuniferAuNativeApi.AccountsApijuniferAccountsIdGetGET /junifer/accounts/{id}Get account
JuniferAuNativeApi.AccountsApijuniferAccountsIdHotBillPostPOST /junifer/accounts/{id}/hotBillHot bill
JuniferAuNativeApi.AccountsApijuniferAccountsIdNotePostPOST /junifer/accounts/{id}/noteCreate account note
JuniferAuNativeApi.AccountsApijuniferAccountsIdPaymentMethodsGetGET /junifer/accounts/{id}/paymentMethodsGet account's payment methods
JuniferAuNativeApi.AccountsApijuniferAccountsIdPaymentPlansGetGET /junifer/accounts/{id}/paymentPlansGet account's payment plans
JuniferAuNativeApi.AccountsApijuniferAccountsIdPaymentPostPOST /junifer/accounts/{id}/paymentCreate Payment Transaction
JuniferAuNativeApi.AccountsApijuniferAccountsIdPaymentSchedulePeriodsGetGET /junifer/accounts/{id}/paymentSchedulePeriodsGet account's payment schedule periods
JuniferAuNativeApi.AccountsApijuniferAccountsIdPaymentSchedulesSuggestedPaymentAmountGetGET /junifer/accounts/{id}/paymentSchedules/suggestedPaymentAmountGet account's suggested payment amount
JuniferAuNativeApi.AccountsApijuniferAccountsIdPaymentsGetGET /junifer/accounts/{id}/paymentsGet account's payments
JuniferAuNativeApi.AccountsApijuniferAccountsIdPrimaryContactPutPUT /junifer/accounts/{id}/primaryContactUpdate Accounts's primary contact details.
JuniferAuNativeApi.AccountsApijuniferAccountsIdProductDetailsGetGET /junifer/accounts/{id}/productDetailsGet account's product details
JuniferAuNativeApi.AccountsApijuniferAccountsIdPropertysGetGET /junifer/accounts/{id}/propertysGet account's properties
JuniferAuNativeApi.AccountsApijuniferAccountsIdRenewalPostPOST /junifer/accounts/{id}/renewalRenew account
JuniferAuNativeApi.AccountsApijuniferAccountsIdRepaymentsPostPOST /junifer/accounts/{id}/repaymentsCreate account repayment
JuniferAuNativeApi.AccountsApijuniferAccountsIdTariffInformationGetGET /junifer/accounts/{id}/tariffInformationGet account's tariff Information
JuniferAuNativeApi.AccountsApijuniferAccountsIdTicketsGetGET /junifer/accounts/{id}/ticketsGet account's tickets
JuniferAuNativeApi.AccountsApijuniferAccountsIdTicketsPostPOST /junifer/accounts/{id}/ticketsCreate account ticket
JuniferAuNativeApi.AccountsApijuniferAccountsIdTransactionsGetGET /junifer/accounts/{id}/transactionsGet account's transactions
JuniferAuNativeApi.AccountsAustraliaApijuniferAuAccountsIdDiscountsGetGET /junifer/au/accounts/{id}/discountsGet discounts linked to the account specified by the ID
JuniferAuNativeApi.AccountsAustraliaApijuniferAuAccountsIdDiscountsPostPOST /junifer/au/accounts/{id}/discountsLinks a discount to the account specified by the ID
JuniferAuNativeApi.AccountsAustraliaApijuniferAuAccountsIdRenewalPostPOST /junifer/au/accounts/{id}/renewalRenew account with one or more new agreements
JuniferAuNativeApi.AlertsApijuniferAlertsIdGetGET /junifer/alerts/{id}Get alert
JuniferAuNativeApi.BillPeriodsApijuniferBillPeriodsIdGetGET /junifer/billPeriods/{id}Get Bill Period
JuniferAuNativeApi.BillRequestsApijuniferBillRequestsIdGetGET /junifer/billRequests/{id}Get bill request
JuniferAuNativeApi.BillRequestsApijuniferBillRequestsIdRestartFailedPostPOST /junifer/billRequests/{id}/restartFailedRestart failed bill request
JuniferAuNativeApi.BillingEntitiesApijuniferBillingEntitiesIdGetGET /junifer/billingEntities/{id}Get billing entity
JuniferAuNativeApi.BillsApijuniferBillEmailsIdGetGET /junifer/billEmails/{id}Get bill email
JuniferAuNativeApi.BillsApijuniferBillFilesIdGetGET /junifer/billFiles/{id}Get bill file
JuniferAuNativeApi.BillsApijuniferBillFilesIdImageGetGET /junifer/billFiles/{id}/imageGet bill file image
JuniferAuNativeApi.BillsApijuniferBillsIdAcceptDraftPostPOST /junifer/bills/{id}/acceptDraftAccept Draft bill
JuniferAuNativeApi.BillsApijuniferBillsIdBillBreakdownLinesGetGET /junifer/bills/{id}/billBreakdownLinesGet bill's breakdown lines
JuniferAuNativeApi.BillsApijuniferBillsIdGetGET /junifer/bills/{id}Get bill
JuniferAuNativeApi.BillsApijuniferBillsIdReversionPostPOST /junifer/bills/{id}/reversionReversion bill
JuniferAuNativeApi.CommunicationsApijuniferCommunicationsEmailPostPOST /junifer/communications/emailSend email
JuniferAuNativeApi.CommunicationsApijuniferCommunicationsEmailsIdGetGET /junifer/communicationsEmails/{id}Get communication email
JuniferAuNativeApi.CommunicationsApijuniferCommunicationsFilesIdGetGET /junifer/communicationsFiles/{id}Get communication file
JuniferAuNativeApi.CommunicationsApijuniferCommunicationsFilesIdImageGetGET /junifer/communicationsFiles/{id}/imageGet communication file image
JuniferAuNativeApi.CommunicationsApijuniferCommunicationsIdGetGET /junifer/communications/{id}Get Communication
JuniferAuNativeApi.ConcessionsAustraliaApijuniferAuConcessionsCreateConcessionPostPOST /junifer/au/concessions/createConcessionCreate concession
JuniferAuNativeApi.ContactsApijuniferContactsIdAccountsGetGET /junifer/contacts/{id}/accountsGet accounts
JuniferAuNativeApi.ContactsApijuniferContactsIdGetGET /junifer/contacts/{id}Get contact
JuniferAuNativeApi.ContactsApijuniferContactsIdMarketingPreferencesGetGET /junifer/contacts/{id}/marketingPreferencesGet a contact's marketing preferences
JuniferAuNativeApi.ContactsApijuniferContactsIdMarketingPreferencesPutPUT /junifer/contacts/{id}/marketingPreferencesUpdate a contact's marketing preferences
JuniferAuNativeApi.CreditsApijuniferCreditFilesIdGetGET /junifer/creditFiles/{id}Get credit file
JuniferAuNativeApi.CreditsApijuniferCreditFilesIdImageGetGET /junifer/creditFiles/{id}/imageGet credit file image
JuniferAuNativeApi.CreditsApijuniferCreditsIdCreditBreakdownLinesGetGET /junifer/credits/{id}/creditBreakdownLinesGet credit's breakdown lines
JuniferAuNativeApi.CreditsApijuniferCreditsIdGetGET /junifer/credits/{id}Get Credit
JuniferAuNativeApi.CustomerPaymentsApijuniferAuBpointDirectDebitsIdDeleteDELETE /junifer/au/bpointDirectDebits/{id}Cancel BPOINT Direct Debit Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferAuBpointDirectDebitsIdGetGET /junifer/au/bpointDirectDebits/{id}Existing BPOINT Direct Debit Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferAuBpointDirectDebitsPostPOST /junifer/au/bpointDirectDebitsNew BPOINT Direct Debit
JuniferAuNativeApi.CustomerPaymentsApijuniferAuPayPalDirectDebitsIdDeleteDELETE /junifer/au/payPalDirectDebits/{id}Cancel PayPal Direct Debit Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferAuPayPalDirectDebitsIdGetGET /junifer/au/payPalDirectDebits/{id}Existing PayPal Direct Debit Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferAuPayPalDirectDebitsPostPOST /junifer/au/payPalDirectDebitsNew PayPal Direct Debit
JuniferAuNativeApi.CustomerPaymentsApijuniferAuWestpacDirectDebitsIdDeleteDELETE /junifer/au/westpacDirectDebits/{id}Cancel Westpac Direct Debit Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferAuWestpacDirectDebitsIdGetGET /junifer/au/westpacDirectDebits/{id}Existing Westpac Direct Debit Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferAuWestpacDirectDebitsPostPOST /junifer/au/westpacDirectDebitsNew Westpac Direct Debit
JuniferAuNativeApi.CustomerPaymentsApijuniferSepaDirectDebitsIdDeleteDELETE /junifer/sepaDirectDebits/{id}Cancel SEPA Direct Debit Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferSepaDirectDebitsIdGetGET /junifer/sepaDirectDebits/{id}Existing SEPA Direct Debit Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferSepaDirectDebitsIdPutPUT /junifer/sepaDirectDebits/{id}Update SEPA Direct Debit Mandate
JuniferAuNativeApi.CustomerPaymentsApijuniferSepaDirectDebitsPostPOST /junifer/sepaDirectDebitsNew SEPA Direct Debit Mandate
JuniferAuNativeApi.CustomerPaymentsApijuniferStripePaymentCardsIdDeleteDELETE /junifer/stripePaymentCards/{id}Cancel Stripe Payment Card
JuniferAuNativeApi.CustomerPaymentsApijuniferStripePaymentCardsIdGetGET /junifer/stripePaymentCards/{id}Existing Stripe Payment Card Instruction
JuniferAuNativeApi.CustomerPaymentsApijuniferStripePaymentCardsIdPaymentsPostPOST /junifer/stripePaymentCards/{id}/paymentsCreate Stripe Card Payment Collection
JuniferAuNativeApi.CustomerPaymentsApijuniferStripePaymentCardsPostPOST /junifer/stripePaymentCardsStore Stripe Payment Card
JuniferAuNativeApi.CustomersApijuniferCustomersEnrolCustomerPostPOST /junifer/customers/enrolCustomerEnrol customer
JuniferAuNativeApi.CustomersApijuniferCustomersGetGET /junifer/customersCustomer lookup
JuniferAuNativeApi.CustomersApijuniferCustomersIdAccountsGetGET /junifer/customers/{id}/accountsGet customer's accounts
JuniferAuNativeApi.CustomersApijuniferCustomersIdBillingEntitiesGetGET /junifer/customers/{id}/billingEntitiesGet customer's billing entities
JuniferAuNativeApi.CustomersApijuniferCustomersIdConsentsGetGET /junifer/customers/{id}/consentsGet customer's consents
JuniferAuNativeApi.CustomersApijuniferCustomersIdConsentsPutPUT /junifer/customers/{id}/consentsUpdate customer's consents
JuniferAuNativeApi.CustomersApijuniferCustomersIdContactsContactIdPutPUT /junifer/customers/{id}/contacts/{contactId}Update customer's contact details
JuniferAuNativeApi.CustomersApijuniferCustomersIdContactsGetGET /junifer/customers/{id}/contactsContacts
JuniferAuNativeApi.CustomersApijuniferCustomersIdCreateProspectPutPUT /junifer/customers/{id}/createProspectCreate Prospect
JuniferAuNativeApi.CustomersApijuniferCustomersIdEnrolAdditionalAccountPostPOST /junifer/customers/{id}/enrolAdditionalAccountEnrol a new account to an existing customer
JuniferAuNativeApi.CustomersApijuniferCustomersIdGetGET /junifer/customers/{id}Get customer
JuniferAuNativeApi.CustomersApijuniferCustomersIdPrimaryContactPutPUT /junifer/customers/{id}/primaryContactUpdate customer's primary contact details
JuniferAuNativeApi.CustomersApijuniferCustomersIdProspectsGetGET /junifer/customers/{id}/prospectsGet customer's Prospects
JuniferAuNativeApi.CustomersApijuniferCustomersIdPutPUT /junifer/customers/{id}Update customer
JuniferAuNativeApi.CustomersApijuniferCustomersIdUpdateBillingAddressPutPUT /junifer/customers/{id}/updateBillingAddressUpdate customer's Billing Address.
JuniferAuNativeApi.CustomersAustraliaApijuniferAuCustomersEnrolBusinessCustomerPostPOST /junifer/au/customers/enrolBusinessCustomerEnrol business customer
JuniferAuNativeApi.CustomersAustraliaApijuniferAuCustomersEnrolCustomerPostPOST /junifer/au/customers/enrolCustomerEnrol customer
JuniferAuNativeApi.CustomersAustraliaApijuniferAuCustomersLifeSupportPostPOST /junifer/au/customers/lifeSupportAdd life support and sensitive load details
JuniferAuNativeApi.CustomersAustraliaApijuniferAuCustomersSiteAccessPostPOST /junifer/au/customers/siteAccessAdd site access and hazard details
JuniferAuNativeApi.FinancialsApijuniferActiveSeasonalDefinitionGetGET /junifer/activeSeasonalDefinitionGet active seasonal definition
JuniferAuNativeApi.FinancialsApijuniferPaymentMethodsIdGetGET /junifer/paymentMethods/{id}Get payment method
JuniferAuNativeApi.FinancialsApijuniferPaymentPlansIdGetGET /junifer/paymentPlans/{id}Get payment plan
JuniferAuNativeApi.FinancialsApijuniferPaymentRequestsIdGetGET /junifer/paymentRequests/{id}Get payment request
JuniferAuNativeApi.FinancialsApijuniferPaymentSchedulePeriodsCalculateNextPaymentDateGetGET /junifer/paymentSchedulePeriods/calculateNextPaymentDateCalculate next payment schedule collection date
JuniferAuNativeApi.FinancialsApijuniferPaymentSchedulePeriodsIdGetGET /junifer/paymentSchedulePeriods/{id}Get payment schedule period
JuniferAuNativeApi.FinancialsApijuniferPaymentSchedulePeriodsIdPutPUT /junifer/paymentSchedulePeriods/{id}Stop payment schedule period
JuniferAuNativeApi.FinancialsApijuniferPaymentSchedulePeriodsPaymentScheduleItemsGetGET /junifer/paymentSchedulePeriods/paymentScheduleItemsGet account's payment schedule items
JuniferAuNativeApi.FinancialsApijuniferPaymentSchedulePeriodsPostPOST /junifer/paymentSchedulePeriodsCreate new payment schedule period
JuniferAuNativeApi.FinancialsApijuniferPaymentsIdGetGET /junifer/payments/{id}Get payment
JuniferAuNativeApi.MarketingCampaignSourcesApijuniferMarketingCampaignSourcesGetGET /junifer/marketingCampaignSourcesList Marketing Campaign Sources
JuniferAuNativeApi.MeterpointsAustraliaApijuniferAuMeterPointsGetGET /junifer/au/meterPointsMeterPoint lookup
JuniferAuNativeApi.MeterpointsAustraliaApijuniferAuMeterPointsIdMeterStructureGetGET /junifer/au/meterPoints/{id}/meterStructureGet meterpoint structure
JuniferAuNativeApi.MeterpointsAustraliaApijuniferAuMeterPointsIdReadingsGetGET /junifer/au/meterPoints/{id}/readingsGet meter readings
JuniferAuNativeApi.MeterpointsAustraliaApijuniferAuMeterPointsIdReadingsPostPOST /junifer/au/meterPoints/{id}/readingsSubmit meter readings
JuniferAuNativeApi.MeterpointsAustraliaApijuniferAuMeterPointsMeterStructureGetGET /junifer/au/meterPoints/meterStructureGet meterpoint structure
JuniferAuNativeApi.NmisApijuniferAuNmisStandingDataForNMIGetGET /junifer/au/nmis/standingDataForNMIGet NMIs including standing data
JuniferAuNativeApi.OffersApijuniferOffersIdGetGET /junifer/offers/{id}Get Offer
JuniferAuNativeApi.OffersApijuniferOffersIdQuotesGetGET /junifer/offers/{id}/quotesGet quotes
JuniferAuNativeApi.PaymentPlansApijuniferPaymentPlansIdPaymentPlanPaymentsGetGET /junifer/paymentPlans/{id}/paymentPlanPaymentsGet paymentPlan's payments
JuniferAuNativeApi.ProductsApijuniferAuProductsTariffsForNMIGetGET /junifer/au/products/tariffsForNMIGet products for nmi
JuniferAuNativeApi.PropertiesApijuniferPropertysIdGetGET /junifer/propertys/{id}Get property
JuniferAuNativeApi.PropertiesApijuniferPropertysIdMeterPointsGetGET /junifer/propertys/{id}/meterPointsGet meter points
JuniferAuNativeApi.PropertiesApijuniferPropertysPostPOST /junifer/propertys
JuniferAuNativeApi.ProspectsApijuniferBrokerLinkagesIdGetGET /junifer/brokerLinkages/{id}Get Broker Linkage
JuniferAuNativeApi.ProspectsApijuniferBrokersGetGET /junifer/brokersLookup broker
JuniferAuNativeApi.ProspectsApijuniferBrokersIdBrokerLinkagesGetGET /junifer/brokers/{id}/brokerLinkagesGet BrokerLinkages for Broker
JuniferAuNativeApi.ProspectsApijuniferBrokersIdGetGET /junifer/brokers/{id}Get Broker
JuniferAuNativeApi.ProspectsApijuniferProspectsIdAddPropertiesPostPOST /junifer/prospects/{id}/add_propertiesAdd Properties
JuniferAuNativeApi.ProspectsApijuniferProspectsIdGetGET /junifer/prospects/{id}Get prospect
JuniferAuNativeApi.ProspectsApijuniferProspectsIdOffersGetGET /junifer/prospects/{id}/offersGet prospect offers
JuniferAuNativeApi.ProspectsApijuniferProspectsIdPropertysGetGET /junifer/prospects/{id}/propertysGet prospect's properties
JuniferAuNativeApi.ProspectsApijuniferProspectsPostPOST /junifer/prospectsCreate Prospect
JuniferAuNativeApi.QuoteFilesApijuniferQuoteFilesIdGetGET /junifer/quoteFiles/{id}Get quote file
JuniferAuNativeApi.QuoteFilesApijuniferQuoteFilesIdImageGetGET /junifer/quoteFiles/{id}/imageGet quote file image
JuniferAuNativeApi.QuotesApijuniferQuotesIdAcceptQuotePostPOST /junifer/quotes/{id}/acceptQuote
JuniferAuNativeApi.QuotesApijuniferQuotesIdGetGET /junifer/quotes/{id}Get quote
JuniferAuNativeApi.TicketsApijuniferTicketsIdCancelTicketPostPOST /junifer/tickets/{id}/cancelTicketCancel Ticket
JuniferAuNativeApi.TicketsApijuniferTicketsIdGetGET /junifer/tickets/{id}Get ticket
JuniferAuNativeApi.TicketsApijuniferTicketsIdPutPUT /junifer/tickets/{id}Update Ticket

Documentation for Models

1.62.0

3 years ago

1.61.1

3 years ago