¿En qué podemos ayudarte?
< Todos los temas
Imprimir

SetDocument (method)

Save the document and returns the identifier with which he has recorded.


Comments

This method is obsolete, we recommend using SetNote (method)


Definition


JSON

/json/SetDocument/{Token}


Using POST to send data in Document format


Parameters

ParameterDescription
TokenAuthentication code, see more in GetToken (method)
DataA structure containing the document information to be generated, see more in Document (class)


Example JSON

http://test.aliquosoftware.net/aliquoserver/api.svc/json/SetDocument/_PutTokenHere_

{
   "TypeDocument": 1,
   "PropertyCode": "001",
   "Status": 1,
   "Lines": [
     {
       "TypeLine": 1,
       "Code": "0014",
       "Quantity": 1,
       "FindPrice": 1
     }
   ]
 }
Tabla de contenidos