View Port Order Details

Returns detailed information for the specified Port Order.

Method

GET portorders/:portorder_id

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains details of the specified Port Order in JSON format. For more information on Port Order attributes, including business documents upload status, see Port Order Attributes in Response Fields for "Create a Port Order".


Example Request

							
GET /v2/portorders/41351 HTTP/1.1
Content-Type: application/json
Accept: application/json
							
						

Example Request

                            
curl -X GET https://api.flowroute.com/v2/portorders/41351 -u accessKey:secretKey
                            
                        

Success

                        200 OK
{
  "data": {
    "attributes": {
      "alias": "Port Order 6/12/2018",
      "billing_address": {
        "city": "Seattle",
        "country": "US",
        "state": "WA",
        "street": "1218 3rd Ave",
        "street2": null,
        "zip": "98101"
      },
      "billing_name": "John Doe",
      "billing_number": "",
      "business_documents": [{
          "data": [
              {
                  "attributes": {
                      "filename": "https://mysite.com/port-order-docs/csr.pdf",
                      "status": "uploaded"
                  },
                  "id": "0",
                  "links": {
                      "self": "https://api.flowroute.com/v2/portorders/42361/files/0",
                  },
                  "type": "portorder-file",
              },
              {
                   "attributes": {
                       "filename": "https://mysite.com/port-order-docs/bill.pdf",
                       "status": "uploaded"
                   },
                   "id": "0",
                   "links": {
                       "self": "https://api.flowroute.com/v2/portorders/42361/files/1",
                   },
                   "type": "portorder-file",
              },
          ]
      }],
      "comments": [],
      "company": "Leather Inc.",
      "completion_date": null,
      "cost": "7.5",
      "date_created": 2018-07-12:10:23:23:00,
      "desired_completion_date": "2018-07-12",
      "enable_cnam_lookups": true,
      "group_id": "38697",
      "last_4_ssn": "",
      "loa_details": {
          "cc": "mbermudez+test@flowroute.com",
          "email": "mbermudez@flowroute.com"
      },
      "numbers": [
          "+12065013456"
      ],
      "pin": "4321",
      "presets": {
          "cnam_id": null,
          "e911_id": null,
          "alias": null,
          "failover_route_id": null,
          "primary_route_id": null
      },
      "provider": "Verizon",
      "provider_account": "123ABC",
      "rejected_reason": null,
      "status": "pending",
      "status_updated_at": null,
      "status_url": "https://ycx56aoy9j.execute-api.us-west-2.amazonaws.com/dev/message_to_slack",
      "usage_type": "residential"
    },
    "id": "42361",
    "links": {
        "self": "https://api.flowroute.com/v2/portorders/42361"
    },
    "type": "portorder"
  },
  "links": {
      "self": "https://api.flowroute.com/v2/portorders/42361"
  }
}
							
						
						

Example Error

404 NOT FOUND { "errors": [ { "detail": "No such port order", "id": "850cbc20-6f57-42a2-a29b-beaa1614fbe4", "status": 404, "title": "Resource not found" } ] }