Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Request

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
/* — search criteria (optional) — */
"shortName":"",
"description":"",
"remarks":"",
"takeinAccount":""       // Boolean
}

Response

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
    "data":     {
        "result":         [
                        {
                "version": 0,
                "id": "1260000000315",
                "shortName": "PC",
                "takeinAccount": "true",
                "description": "Propuesta Colaboración",
                "remarks": "Oferta detallando el servicio."
            },
                        {
				....
            },
                        {
                "version": 0,
                "id": "1260000000316",
                "shortName": "PE",
                "takeinAccount": "true",
                "description": "Propuesta Económica",
                "remarks": "Propuesta que detalla la valoración económica."
            }
        ],
        "total": 5
    },
    "success": true
}

...

Request

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{"id": "1260000000315"}

Response

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
    "data":     {
        "version": 0,
        "id": "1260000000315",
        "shortName": "PC",
        "takeinAccount": "true",
        "description": "Propuesta Colaboración",
        "remarks": "Oferta detallando el servicio."
    },
    "success": true
}

...

Request

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
"shortName": "PR",              // *Required
"description": "Presupuesto",   // *Required
"remarks": "Presupuesto sencillo",
"takeinAccount": "true"
}

Response

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
    "data":     {
        "errors": [],
        "messages": [        {
            "description": "Operación realizada correctamente",
            "id": "operation_success"
        }],
        "warns": []
    },
    "id": "328",
    "success": true,
    "version": 0
}

...

Request

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
"shortName": "PR",              // *Required
"description": "Presupuesto",   // *Required
"remarks": "Presupuesto sencillo",
"takeinAccount": "false",
"id": "328",
"version": 0
}

Response

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
    "data":     {
        "errors": [],
        "messages": [        {
            "description": "Operación realizada correctamente",
            "id": "operation_success"
        }],
        "warns": []
    },
    "id": "328",
    "success": true,
    "version": 1
}

...

Request

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
"id": "328",
"version": 1
}

Response

Code Block
controlstrue
themeDefault
languagejavascript
themeDefault
linenumberstrue
{
    "data":     {
        "errors": [],
        "messages": [        {
            "description": "Operación realizada correctamente",
            "id": "operation_success"
        }],
        "warns": []
    },
    "id": "328",
    "success": true,
    "version": 1
}