Loading...

Description

Gets the details of a specific order request.


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The account which made the request. Yes
requestId The request ID to get the details of. Yes

Response Properties

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

C#
PHP


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);

}

}

 

Stay tuned for JAVA code snippet
Stay tuned for RUBY code snippet
Stay tuned for PHP code snippet