Skip to content

Latest commit

 

History

History
131 lines (81 loc) · 4.25 KB

LinksApi.md

File metadata and controls

131 lines (81 loc) · 4.25 KB

\LinksApi

All URIs are relative to https://penapi.pacnetconnect.com

Method HTTP request Description
InventoryLinkPost Post /1.0.0/inventory/link Create Link and initial Contract
InventoryLinksByLinkidGet Get /1.0.0/inventory/links/{linkid} Get details of specified link
InventoryLinksCustomerByCustomeruuidGet Get /1.0.0/inventory/links/customer/{customeruuid} Get active Links
InventoryLinksHistoryByLinkidGet Get /1.0.0/inventory/links/history/{linkid} Get Link history

InventoryLinkPost

InventoryLinkResponse InventoryLinkPost(ctx, optional) Create Link and initial Contract

Create Link and initial Contract

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
body InventoryLinkRequest

Return type

InventoryLinkResponse

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

InventoryLinksByLinkidGet

InventoryLinksResponse InventoryLinksByLinkidGet(ctx, linkid) Get details of specified link

Get details of specified link

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
linkid string Unique identifier representing a specific link

Return type

InventoryLinksResponse

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

InventoryLinksCustomerByCustomeruuidGet

[]Link InventoryLinksCustomerByCustomeruuidGet(ctx, customeruuid) Get active Links

Get active Links

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
customeruuid string Unique identifier representing a specific customer

Return type

[]Link

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

InventoryLinksHistoryByLinkidGet

InventoryLinksHistoryResponse InventoryLinksHistoryByLinkidGet(ctx, linkid) Get Link history

Get Link history

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
linkid string Unique identifier representing a specific link

Return type

InventoryLinksHistoryResponse

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]