os

Get a reference on operating systems.

Request format

https://adfox.yandex.com/api/v1
  ? object=account
  & action=utility
  & actionObject=os

Response format

<response>
<status>
  <code>{integer}</code>
</status>
<result>
<data>
  <row0>
    <osid>{integer}</osid>
    <name>{string}</name>
  </row0>
</data>
</result>
</response>

Response parameters

code

Request processing status. If the value is 0, the request was completed successfully. For the key, see Error handling.

rows

Number of items in the response tree.

rowN

Item number in the response tree, where N is a number from 0 to rows-1 (where rows is the total number of items in the response).

osid

Operating system ID in the reference.

name

Name of the operating system.

Sample request and response

Request:

https://adfox.yandex.com/api/v1?object=account&action=utility&actionObject=os

Response:

<response>
<status>
  <code>0</code>
</status>
<result>
<data>
  <row0>
    <osid>2</osid>
    <name>MacOS</name>
  </row0>
</data>
</result>
</response>
Previous
Next