Re: API method to get inventory_item_id

From: Jason Slaughter (jslaughter@tucows.com)
Date: Thu May 27 2004 - 15:00:09 EDT


> With regards to Email Defense orders, is there a method to get this
> for
> existing inventory items already provisioned through the RWI?

I'm a big "TPP Protocol" advocate, so I'll field this one :). Take a
look at the generic TPP API documentation, specifically the "query"
object:

http://resellers.tucows.com/documentation

You will be most interested in the "inventory_items.created.by_user_id"
query. There is also a new query that is not yet in the documentation
but I believe it is live, and that is "inventory_items.by_description".
It functions much the same as the other queries, but uses:

'conditions' => [
{
    'operand' => {
        'like' => '*sometest*'
    },
    'field' => 'description',
    'type' => 'simple'
},

Jason





This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:56 EDT