Forum Discussion

API_User's avatar
API_User
Equinix Employee
6 years ago

Question about "loa attachment" in crossconnect order API

We have noticed in playground for CrossConnect order API: https://developer.equinix.com/catalog/crossconnectv1

{
    "loa": {
        "attachments": [
            {
                "id": "eb9ab7e9-3785-41e4-af24-74b8dc37b254",
                "name": "abc-service-api-swagger.yml"
            }
        ]
    }
}

How do you get the "loa" attachments?

  • For LOA attachments, you can first upload LOA attachment using Attachments API, here is the link for swagger:
    https://developer.equinix.com/catalog/attachmentsv1

    POST API: /v1/attachments/file

    In response to the above API call, you can expect to receive attachmentId, which you can use it for "id" field under "loa"-> "attachments".

  • API_User's avatar
    API_User
    Equinix Employee

    For LOA attachments, you can first upload LOA attachment using Attachments API, here is the link for swagger:
    https://developer.equinix.com/catalog/attachmentsv1

    POST API: /v1/attachments/file

    In response to the above API call, you can expect to receive attachmentId, which you can use it for "id" field under "loa"-> "attachments".