• 0
Sign in to follow this  
atejeda.ccs

Error publicando inmueble

Question

Buenas, estoy intentando realizar una publicación y al validar el json me da error

 

Este el json que estoy utilizando:

{
	"site_id" : "MLA",
    "title" : " Item de Testeo, Por favor, no ofertar",
    "category_id": "MLA50551",
    "price": 10000,
    "currency_id": "ARS",
    "available_quantity": 1,
    "buying_mode": "classified",
    "listing_type_id": "gold",
    "condition": "not_specified",
    "pictures":[{
        "source":"http://lorempixel.com/400/200/"
    }],
              "seller_contact": {
                "contact": "Contact name",
                "other_info": "Additional contact info",
                "area_code": "011",
                "phone": "4444-5555",
                "area_code2": "",
                "phone2": "",
                "email": "contact-email@somedomain.com",
                "webmail": ""},
              "location": {
                "address_line": "Calle arbolada",
                "zip_code": "505085",
                "neighborhood":{
                  "id": "TUxBQlBBUzgyNjBa"
                },
                "latitude": "-34.48755",
                "longitude": "-58.56987"
              },
              "attributes": [
                {
                  "id": "ROOMS",
                  "value_name": "2"
                },
                {
                  "id": "FULL_BATHROOMS",
                  "value_name": "2"
                },
                {
                  "id": "PARKING_LOTS",
                  "value_name": "1"
                },
                {
                  "id": "BEDROOMS",
                  "value_name":"2"
                },
                {
                  "id": "COVERED_AREA",
                  "value_name": "30 m²"
                },
                {
                  "id": "TOTAL_AREA",
                  "value_name": "40 m²"
                }
              ],
            "description": "Descripción de prueba, No Ofertar."
          }

Y en el validador me genera error 402 Payment Required

 

y al intentar hacer la peticion esta es la respuesta

Object { message: "You should provide an id or a list of ids. e.g. /items/MLA1 or /items?ids=MLA1,MLA2,MLA3", error: "not_found", status: 404, … }

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
On 1/17/2018 at 3:43 PM, atejeda.ccs said:

Buenas, estoy intentando realizar una publicación y al validar el json me da error

 

Este el json que estoy utilizando:

Y en el validador me genera error 402 Payment Required

 

y al intentar hacer la peticion esta es la respuesta

Object { message: "You should provide an id or a list of ids. e.g. /items/MLA1 or /items?ids=MLA1,MLA2,MLA3", error: "not_found", status: 404, … }

tienes que poner su código para te ayudarmos

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this