@@ -4,14 +4,14 @@ All URIs are relative to *https://penapi.pacnetconnect.com*
44
55Method | HTTP request | Description
66------------- | ------------- | -------------
7- [ ** 100InventoryLinksContractByLinkidAndContractidGet ** ] ( ContractsApi.md#100InventoryLinksContractByLinkidAndContractidGet ) | ** GET** /1.0.0/inventory/links/{linkid}/contract/{contractid} | Get active Contract by ContractID
8- [ ** 100InventoryLinksContractByLinkidAndContractidPut ** ] ( ContractsApi.md#100InventoryLinksContractByLinkidAndContractidPut ) | ** PUT** /1.0.0/inventory/links/{linkid}/contract/{contractid} | Update active Contract by ContractID
9- [ ** 100InventoryLinksContractByLinkidPost ** ] ( ContractsApi.md#100InventoryLinksContractByLinkidPost ) | ** POST** /1.0.0/inventory/links/{linkid}/contract | Create new Contract on specified link
7+ [ ** inventoryLinksContractByLinkidAndContractidGet ** ] ( ContractsApi.md#inventoryLinksContractByLinkidAndContractidGet ) | ** GET** /1.0.0/inventory/links/{linkid}/contract/{contractid} | Get active Contract by ContractID
8+ [ ** inventoryLinksContractByLinkidAndContractidPut ** ] ( ContractsApi.md#inventoryLinksContractByLinkidAndContractidPut ) | ** PUT** /1.0.0/inventory/links/{linkid}/contract/{contractid} | Update active Contract by ContractID
9+ [ ** inventoryLinksContractByLinkidPost ** ] ( ContractsApi.md#inventoryLinksContractByLinkidPost ) | ** POST** /1.0.0/inventory/links/{linkid}/contract | Create new Contract on specified link
1010
1111
12- <a name =" 100InventoryLinksContractByLinkidAndContractidGet " ></a >
13- # ** 100InventoryLinksContractByLinkidAndContractidGet **
14- > Model100InventoryLinksContractResponse 100InventoryLinksContractByLinkidAndContractidGet (linkid, contractid)
12+ <a name =" inventoryLinksContractByLinkidAndContractidGet " ></a >
13+ # ** inventoryLinksContractByLinkidAndContractidGet **
14+ > InventoryLinksContractResponse inventoryLinksContractByLinkidAndContractidGet (linkid, contractid)
1515
1616Get active Contract by ContractID
1717
@@ -20,18 +20,26 @@ Get active Contract by ContractID
2020### Example
2121``` java
2222// Import classes:
23+ // import invalidPackageName.ApiClient;
2324// import invalidPackageName.ApiException;
25+ // import invalidPackageName.Configuration;
26+ // import invalidPackageName.auth.*;
2427// import TelstraTPN.ContractsApi;
2528
29+ ApiClient defaultClient = Configuration . getDefaultApiClient();
30+
31+ // Configure OAuth2 access token for authorization: auth
32+ OAuth auth = (OAuth ) defaultClient. getAuthentication(" auth" );
33+ auth. setAccessToken(" YOUR ACCESS TOKEN" );
2634
2735ContractsApi apiInstance = new ContractsApi ();
2836String linkid = " linkid_example" ; // String | Unique identifier representing a specific link
2937String contractid = " contractid_example" ; // String | Unique identifier representing a specific contract
3038try {
31- Model100InventoryLinksContractResponse result = apiInstance. 100InventoryLinksContractByLinkidAndContractidGet (linkid, contractid);
39+ InventoryLinksContractResponse result = apiInstance. inventoryLinksContractByLinkidAndContractidGet (linkid, contractid);
3240 System . out. println(result);
3341} catch (ApiException e) {
34- System . err. println(" Exception when calling ContractsApi#100InventoryLinksContractByLinkidAndContractidGet " );
42+ System . err. println(" Exception when calling ContractsApi#inventoryLinksContractByLinkidAndContractidGet " );
3543 e. printStackTrace();
3644}
3745```
@@ -45,20 +53,20 @@ Name | Type | Description | Notes
4553
4654### Return type
4755
48- [ ** Model100InventoryLinksContractResponse ** ] ( Model100InventoryLinksContractResponse .md)
56+ [ ** InventoryLinksContractResponse ** ] ( InventoryLinksContractResponse .md)
4957
5058### Authorization
5159
52- No authorization required
60+ [ auth ] ( ../README.md#auth )
5361
5462### HTTP request headers
5563
5664 - ** Content-Type** : application/json
5765 - ** Accept** : application/json
5866
59- <a name =" 100InventoryLinksContractByLinkidAndContractidPut " ></a >
60- # ** 100InventoryLinksContractByLinkidAndContractidPut **
61- > Model100InventoryLinksContractResponse33 100InventoryLinksContractByLinkidAndContractidPut (linkid, contractid, body)
67+ <a name =" inventoryLinksContractByLinkidAndContractidPut " ></a >
68+ # ** inventoryLinksContractByLinkidAndContractidPut **
69+ > InventoryLinksContractResponse33 inventoryLinksContractByLinkidAndContractidPut (linkid, contractid, body)
6270
6371Update active Contract by ContractID
6472
@@ -67,19 +75,27 @@ Update active Contract by ContractID
6775### Example
6876``` java
6977// Import classes:
78+ // import invalidPackageName.ApiClient;
7079// import invalidPackageName.ApiException;
80+ // import invalidPackageName.Configuration;
81+ // import invalidPackageName.auth.*;
7182// import TelstraTPN.ContractsApi;
7283
84+ ApiClient defaultClient = Configuration . getDefaultApiClient();
85+
86+ // Configure OAuth2 access token for authorization: auth
87+ OAuth auth = (OAuth ) defaultClient. getAuthentication(" auth" );
88+ auth. setAccessToken(" YOUR ACCESS TOKEN" );
7389
7490ContractsApi apiInstance = new ContractsApi ();
7591String linkid = " linkid_example" ; // String | Unique identifier representing a specific link
7692String contractid = " contractid_example" ; // String | Unique identifier representing a specific contract
77- Model100InventoryLinksContractRequest body = new Model100InventoryLinksContractRequest (); // Model100InventoryLinksContractRequest |
93+ InventoryLinksContractRequest body = new InventoryLinksContractRequest (); // InventoryLinksContractRequest |
7894try {
79- Model100InventoryLinksContractResponse33 result = apiInstance. 100InventoryLinksContractByLinkidAndContractidPut (linkid, contractid, body);
95+ InventoryLinksContractResponse33 result = apiInstance. inventoryLinksContractByLinkidAndContractidPut (linkid, contractid, body);
8096 System . out. println(result);
8197} catch (ApiException e) {
82- System . err. println(" Exception when calling ContractsApi#100InventoryLinksContractByLinkidAndContractidPut " );
98+ System . err. println(" Exception when calling ContractsApi#inventoryLinksContractByLinkidAndContractidPut " );
8399 e. printStackTrace();
84100}
85101```
@@ -90,24 +106,24 @@ Name | Type | Description | Notes
90106------------- | ------------- | ------------- | -------------
91107 ** linkid** | ** String** | Unique identifier representing a specific link |
92108 ** contractid** | ** String** | Unique identifier representing a specific contract |
93- ** body** | [ ** Model100InventoryLinksContractRequest ** ] ( Model100InventoryLinksContractRequest .md) | | [ optional]
109+ ** body** | [ ** InventoryLinksContractRequest ** ] ( InventoryLinksContractRequest .md) | | [ optional]
94110
95111### Return type
96112
97- [ ** Model100InventoryLinksContractResponse33 ** ] ( Model100InventoryLinksContractResponse33 .md)
113+ [ ** InventoryLinksContractResponse33 ** ] ( InventoryLinksContractResponse33 .md)
98114
99115### Authorization
100116
101- No authorization required
117+ [ auth ] ( ../README.md#auth )
102118
103119### HTTP request headers
104120
105121 - ** Content-Type** : application/json
106122 - ** Accept** : application/json
107123
108- <a name =" 100InventoryLinksContractByLinkidPost " ></a >
109- # ** 100InventoryLinksContractByLinkidPost **
110- > Model100InventoryLinksContractResponse38 100InventoryLinksContractByLinkidPost (linkid, body)
124+ <a name =" inventoryLinksContractByLinkidPost " ></a >
125+ # ** inventoryLinksContractByLinkidPost **
126+ > List & lt ; InventoryLinksContractResponse38 & gt ; inventoryLinksContractByLinkidPost (linkid, body)
111127
112128Create new Contract on specified link
113129
@@ -116,18 +132,26 @@ Create new Contract on specified link
116132### Example
117133``` java
118134// Import classes:
135+ // import invalidPackageName.ApiClient;
119136// import invalidPackageName.ApiException;
137+ // import invalidPackageName.Configuration;
138+ // import invalidPackageName.auth.*;
120139// import TelstraTPN.ContractsApi;
121140
141+ ApiClient defaultClient = Configuration . getDefaultApiClient();
142+
143+ // Configure OAuth2 access token for authorization: auth
144+ OAuth auth = (OAuth ) defaultClient. getAuthentication(" auth" );
145+ auth. setAccessToken(" YOUR ACCESS TOKEN" );
122146
123147ContractsApi apiInstance = new ContractsApi ();
124148String linkid = " linkid_example" ; // String | Unique identifier representing a specific link
125- Model100InventoryLinksContractRequest37 body = new Model100InventoryLinksContractRequest37 (); // Model100InventoryLinksContractRequest37 |
149+ InventoryLinksContractRequest37 body = new InventoryLinksContractRequest37 (); // InventoryLinksContractRequest37 |
126150try {
127- Model100InventoryLinksContractResponse38 result = apiInstance. 100InventoryLinksContractByLinkidPost (linkid, body);
151+ List< InventoryLinksContractResponse38 > result = apiInstance. inventoryLinksContractByLinkidPost (linkid, body);
128152 System . out. println(result);
129153} catch (ApiException e) {
130- System . err. println(" Exception when calling ContractsApi#100InventoryLinksContractByLinkidPost " );
154+ System . err. println(" Exception when calling ContractsApi#inventoryLinksContractByLinkidPost " );
131155 e. printStackTrace();
132156}
133157```
@@ -137,15 +161,15 @@ try {
137161Name | Type | Description | Notes
138162------------- | ------------- | ------------- | -------------
139163 ** linkid** | ** String** | Unique identifier representing a specific link |
140- ** body** | [ ** Model100InventoryLinksContractRequest37 ** ] ( Model100InventoryLinksContractRequest37 .md) | | [ optional]
164+ ** body** | [ ** InventoryLinksContractRequest37 ** ] ( InventoryLinksContractRequest37 .md) | | [ optional]
141165
142166### Return type
143167
144- [ ** Model100InventoryLinksContractResponse38 ** ] ( Model100InventoryLinksContractResponse38 .md)
168+ [ ** List & lt ; InventoryLinksContractResponse38 & gt ; ** ] ( InventoryLinksContractResponse38 .md)
145169
146170### Authorization
147171
148- No authorization required
172+ [ auth ] ( ../README.md#auth )
149173
150174### HTTP request headers
151175
0 commit comments