API Object Statuses
Several functions and classes in the API have parameters and members which accept only distinct values. This document lists possible values of these fields.
Domain transfer methods
In several functions (such as AfterMarket::addAuction(), a domain transfer method must be specified. It is a method which will be used to transfer the domain to the buyer. Two parameters are used to define it: "internal" and "method".
The "internal" parameter specifies whether the domain is registered with AfterMarket.pl. If this value is set to 1, no other information is necessary, because the domain transfer will be handled internally within AfterMarket.pl.
The "method" parameter is meaningful only when the "internal" parameter is set to 0, has the following meaning:
0 - .pl domain transfer with AuthInfo code. The code must be given when listing the auction.
1 - .pl domain transfer with AuthInfo code. The code will be given when the buyer pays.
2 - .pl domain push at the current registrar. The buyer and seller will need to contact in order to arrange the push.
3 - global domain transfer with AuthInfo code. The buyer and seller will need to contact in order to give the AuthInfo code and arrange the transfer.
4 - .eu domain trade. The trade must be confirmed by the buyer and seller on the EURid website.
Object statuses
Auction status
Below are the possible values of the AuctionInfo::$status field.
Auction statuses
| Value |
Meaning |
Description |
| W |
Waiting |
The auction is waiting for being listed. |
| A |
Active |
The auction is currently running. |
| N |
Finished |
The auction is finished. |
| L |
Canceled |
The auction has been canceled by the seller. |
Offer status
Below are the possible values of the PastOffer::$status and MyOffer::$status fields.
Offer statuses
| Value |
Meaning |
Description |
| A |
Active |
The offer is active. |
| N |
Rejected |
The offer has been rejected by the seller, or withdrawn by the buyer. |
| X |
Expired |
The offer has been expired. |
| W |
Waiting |
The buyer must supply a security deposit to make te offer active. |
| B |
Auction |
The seller has listed an auction starting with this offer. |
| E |
Escrow |
The seller has accepted the offer and an Escrow transaction has been started. |
| C |
Counteroffer |
The seller has responded with a counteroffer. |
| O |
Pending |
Other offer is being considered for this domain. |