Loading...

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/request-tn/{requestId}

Description

Gets the details of a specific order request.

Path Parameters

accountId integer The account which made the request. required
requestId integer The request ID to get the details of. required

Response Properties application/json

Id integer The ID of the order.
Quantity integer The number of phone numbers requested.
Pattern string The search pattern used for provisioning this order.
OrderBy string The type of order that is being provisioned.
OrderStatus string The current status of the order
PhoneNumbers array[string] List of phone numbers that have been provisioned so far.


                    

C#


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Enums;
using ThreeSeventy.Vector.Client.Models;

public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXX;

const int requestId = XXXX;

var context = new T70Context();

var requestTnRepo = context.Repository<RequestTn>(new { AccountId = accountId });

var item = requestTnRepo.Get(requestId);

}

}