@@ -4,14 +4,14 @@ All URIs are relative to *https://penapi.pacnetconnect.com*
4
4
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
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
10
10
11
11
12
- <a name =" 100InventoryLinksContractByLinkidAndContractidGet " ></a >
13
- # ** 100InventoryLinksContractByLinkidAndContractidGet **
14
- > Model100InventoryLinksContractResponse 100InventoryLinksContractByLinkidAndContractidGet (linkid, contractid)
12
+ <a name =" inventoryLinksContractByLinkidAndContractidGet " ></a >
13
+ # ** inventoryLinksContractByLinkidAndContractidGet **
14
+ > InventoryLinksContractResponse inventoryLinksContractByLinkidAndContractidGet (linkid, contractid)
15
15
16
16
Get active Contract by ContractID
17
17
@@ -20,18 +20,26 @@ Get active Contract by ContractID
20
20
### Example
21
21
``` java
22
22
// Import classes:
23
+ // import invalidPackageName.ApiClient;
23
24
// import invalidPackageName.ApiException;
25
+ // import invalidPackageName.Configuration;
26
+ // import invalidPackageName.auth.*;
24
27
// import TelstraTPN.ContractsApi;
25
28
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" );
26
34
27
35
ContractsApi apiInstance = new ContractsApi ();
28
36
String linkid = " linkid_example" ; // String | Unique identifier representing a specific link
29
37
String contractid = " contractid_example" ; // String | Unique identifier representing a specific contract
30
38
try {
31
- Model100InventoryLinksContractResponse result = apiInstance. 100InventoryLinksContractByLinkidAndContractidGet (linkid, contractid);
39
+ InventoryLinksContractResponse result = apiInstance. inventoryLinksContractByLinkidAndContractidGet (linkid, contractid);
32
40
System . out. println(result);
33
41
} catch (ApiException e) {
34
- System . err. println(" Exception when calling ContractsApi#100InventoryLinksContractByLinkidAndContractidGet " );
42
+ System . err. println(" Exception when calling ContractsApi#inventoryLinksContractByLinkidAndContractidGet " );
35
43
e. printStackTrace();
36
44
}
37
45
```
@@ -45,20 +53,20 @@ Name | Type | Description | Notes
45
53
46
54
### Return type
47
55
48
- [ ** Model100InventoryLinksContractResponse ** ] ( Model100InventoryLinksContractResponse .md)
56
+ [ ** InventoryLinksContractResponse ** ] ( InventoryLinksContractResponse .md)
49
57
50
58
### Authorization
51
59
52
- No authorization required
60
+ [ auth ] ( ../README.md#auth )
53
61
54
62
### HTTP request headers
55
63
56
64
- ** Content-Type** : application/json
57
65
- ** Accept** : application/json
58
66
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)
62
70
63
71
Update active Contract by ContractID
64
72
@@ -67,19 +75,27 @@ Update active Contract by ContractID
67
75
### Example
68
76
``` java
69
77
// Import classes:
78
+ // import invalidPackageName.ApiClient;
70
79
// import invalidPackageName.ApiException;
80
+ // import invalidPackageName.Configuration;
81
+ // import invalidPackageName.auth.*;
71
82
// import TelstraTPN.ContractsApi;
72
83
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" );
73
89
74
90
ContractsApi apiInstance = new ContractsApi ();
75
91
String linkid = " linkid_example" ; // String | Unique identifier representing a specific link
76
92
String contractid = " contractid_example" ; // String | Unique identifier representing a specific contract
77
- Model100InventoryLinksContractRequest body = new Model100InventoryLinksContractRequest (); // Model100InventoryLinksContractRequest |
93
+ InventoryLinksContractRequest body = new InventoryLinksContractRequest (); // InventoryLinksContractRequest |
78
94
try {
79
- Model100InventoryLinksContractResponse33 result = apiInstance. 100InventoryLinksContractByLinkidAndContractidPut (linkid, contractid, body);
95
+ InventoryLinksContractResponse33 result = apiInstance. inventoryLinksContractByLinkidAndContractidPut (linkid, contractid, body);
80
96
System . out. println(result);
81
97
} catch (ApiException e) {
82
- System . err. println(" Exception when calling ContractsApi#100InventoryLinksContractByLinkidAndContractidPut " );
98
+ System . err. println(" Exception when calling ContractsApi#inventoryLinksContractByLinkidAndContractidPut " );
83
99
e. printStackTrace();
84
100
}
85
101
```
@@ -90,24 +106,24 @@ Name | Type | Description | Notes
90
106
------------- | ------------- | ------------- | -------------
91
107
** linkid** | ** String** | Unique identifier representing a specific link |
92
108
** contractid** | ** String** | Unique identifier representing a specific contract |
93
- ** body** | [ ** Model100InventoryLinksContractRequest ** ] ( Model100InventoryLinksContractRequest .md) | | [ optional]
109
+ ** body** | [ ** InventoryLinksContractRequest ** ] ( InventoryLinksContractRequest .md) | | [ optional]
94
110
95
111
### Return type
96
112
97
- [ ** Model100InventoryLinksContractResponse33 ** ] ( Model100InventoryLinksContractResponse33 .md)
113
+ [ ** InventoryLinksContractResponse33 ** ] ( InventoryLinksContractResponse33 .md)
98
114
99
115
### Authorization
100
116
101
- No authorization required
117
+ [ auth ] ( ../README.md#auth )
102
118
103
119
### HTTP request headers
104
120
105
121
- ** Content-Type** : application/json
106
122
- ** Accept** : application/json
107
123
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)
111
127
112
128
Create new Contract on specified link
113
129
@@ -116,18 +132,26 @@ Create new Contract on specified link
116
132
### Example
117
133
``` java
118
134
// Import classes:
135
+ // import invalidPackageName.ApiClient;
119
136
// import invalidPackageName.ApiException;
137
+ // import invalidPackageName.Configuration;
138
+ // import invalidPackageName.auth.*;
120
139
// import TelstraTPN.ContractsApi;
121
140
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" );
122
146
123
147
ContractsApi apiInstance = new ContractsApi ();
124
148
String linkid = " linkid_example" ; // String | Unique identifier representing a specific link
125
- Model100InventoryLinksContractRequest37 body = new Model100InventoryLinksContractRequest37 (); // Model100InventoryLinksContractRequest37 |
149
+ InventoryLinksContractRequest37 body = new InventoryLinksContractRequest37 (); // InventoryLinksContractRequest37 |
126
150
try {
127
- Model100InventoryLinksContractResponse38 result = apiInstance. 100InventoryLinksContractByLinkidPost (linkid, body);
151
+ List< InventoryLinksContractResponse38 > result = apiInstance. inventoryLinksContractByLinkidPost (linkid, body);
128
152
System . out. println(result);
129
153
} catch (ApiException e) {
130
- System . err. println(" Exception when calling ContractsApi#100InventoryLinksContractByLinkidPost " );
154
+ System . err. println(" Exception when calling ContractsApi#inventoryLinksContractByLinkidPost " );
131
155
e. printStackTrace();
132
156
}
133
157
```
@@ -137,15 +161,15 @@ try {
137
161
Name | Type | Description | Notes
138
162
------------- | ------------- | ------------- | -------------
139
163
** linkid** | ** String** | Unique identifier representing a specific link |
140
- ** body** | [ ** Model100InventoryLinksContractRequest37 ** ] ( Model100InventoryLinksContractRequest37 .md) | | [ optional]
164
+ ** body** | [ ** InventoryLinksContractRequest37 ** ] ( InventoryLinksContractRequest37 .md) | | [ optional]
141
165
142
166
### Return type
143
167
144
- [ ** Model100InventoryLinksContractResponse38 ** ] ( Model100InventoryLinksContractResponse38 .md)
168
+ [ ** List & lt ; InventoryLinksContractResponse38 & gt ; ** ] ( InventoryLinksContractResponse38 .md)
145
169
146
170
### Authorization
147
171
148
- No authorization required
172
+ [ auth ] ( ../README.md#auth )
149
173
150
174
### HTTP request headers
151
175
0 commit comments