Request Packet Structure
A request XML packet that sets traffic data for a certain subscription should include the set_traffic operation node:
<packet version="1.6.3.0">
<webspace>
<set_traffic>
...
</set_traffic>
</webspace>
</packet>
The set_traffic node does not have a separate type, it is nested within the complex type (domain_input.xsd). The set_traffic node has the following graphics representation:

- The dom_id node is required. It identifies the subscription whose traffic settings are set. Data type: integer.
- The date node is required. It specifies the date for which the traffic data is set. Data type: date. Format: YYYY-MM-DD.
- The smtp_in node is required. It specifies the incoming traffic (in bytes) got via SMTP protocol. Data type: integer.
- The smtp_out node is required. It is used to show the outgoing SMTP traffic (in bytes). Data type: integer.
- The pop3_imap_in node is required. It specifies the incoming traffic (in bytes) got via POP3 and IMAP protocols. Data type: integer.
- The pop3_imap_out node is required. It is used to show the outgoing POP3/IMAP traffic (in bytes). Data type: integer.
Please send us your feedback on this help page.