Aukro WebAPI
doGetItemFields
This method allows for loading information on a logged user’s offer in a form of sale form fields. It will be possible to pass all data returned by the method in the fields structure for doNewAuctionExt input (as a result of which it will be possible to list a new offer on the basis of an ongoing one). It should be taken into account that images returned by this method will already be compressed by relevant mechanisms of offer listing and that the offer description will already be in the form verified by validators. It should also be remembered that input doNewAuctionExt and output doGetItemFields will never be identical, because doGetItemFields returns offers data in a form stored on the website and not in that sent by a user.
-
sessionId | String | required
User's session identifier received using the doLogin(Enc) method. -
itemId | Long | required
Offer identifier for which data should be returned.
-
itemFields | FieldsValue[]
Array of structures containing information on an offer in the form of sale form fields.-
fid | Integer
Field identifier. -
fvalueString | String
Value of field for a text type. -
fvalueInt | Integer
Value of field for integers. -
fvalueFloat | BigDecimal
Value of field for floating-point numbers. -
fvalueImage | Byte[]
Value of field for graphic files. -
fvalueDatetime | BigDecimal
Value of field for dates and time (Unix time). -
fvalueDate | String
Value of field for dates (dd-mm-yyyy). -
fvalueRangeInt | RangeIntValueStruct
Value of field for integers of range type.-
fvalueRangeIntMin | Integer
Initial value of the parameter value scope. -
fvalueRangeIntMax | Integer
Final value of the parameter value scope.
-
fvalueRangeIntMin | Integer
-
fvalueRangeFloat | RangeFloatValueStruct
Value of field for integers of range type.-
fvalueRangeFloatMin | BigDecimal
Initial value of the parameter value scope. -
fvalueRangeFloatMax | BigDecimal
Final value of the parameter value scope.
-
fvalueRangeFloatMin | BigDecimal
-
fvalueRangeDate | RangeDateValueStruct
Value of field for dates of range type.-
fvalueRangeDateMin | String
Initial value of the parameter value scope. -
fvalueRangeDateMax | String
Final value of the parameter value scope.
-
fvalueRangeDateMin | String
-
fid | Integer
-
ERR_BLOCKED_USER_CANT_INVOKE_METHOD
User's account is blocked. -
ERR_INCORRECT_ITEM_ID
Incorrect offer identifier, the offer does not exist, was listed by a user different than the logged-in one, was moved to the archive or removed by the website administrator. -
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired. -
ERR_WEBAPI_KEY_INACTIVE
WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement).