Páginas filhas
  • ER_Apropriação-Discriminada-TOPxProtheus EAI 2.0

Objetivo:

 

 

 

 

Serviço REST - Protheus - taskcostassignments

/TASKCOSTASSIGNMENTS?
ParâmetroTipoObrigatoriedade
pageINTEGEROBRIGATÓRIO
pageSizeINTEGEROBRIGATÓRIO
sourceAppSTRINGOBRIGATÓRIO
companyIdSTRINGOBRIGATÓRIO
branchIdSTRINGOBRIGATÓRIO
companyInternalIdSTRINGOBRIGATÓRIO
freightValueExcludedBooleanOPCIONAL
insuranceValueExcludedBooleanOPCIONAL
expenseValueExcludedBooleanOPCIONAL
initialTaskInternalIdSTRINGOBRIGATÓRIO
finishTaskInternalIdSTRINGOBRIGATÓRIO
initialDateSTRINGOPCIONAL
finishDateSTRINGOPCIONAL
datePurchaseSTRINGOPCIONAL
dateStockSTRINGOPCIONAL
datePaymentSTRINGOPCIONAL
currencyIdSTRINGOBRIGATÓRIO

 

RESPOSTA:

 

JSon Resposta
{
    "total": 10,
    "hasNext": true,
    "data": {
        "accountingClosingDate": "2017-10-30",
        "tasks": [    
         {
            "taskInternalId": "01|010101|PRJ0001|01|001.01.01",
            "taskCostAssignments": [
                {
					"companyInternalid": "01|010101|001.01",
                    "itemInternalid": "01|010101|001.01",
                    "documentType": "NFE",
                    "recNo": "001",
                    "documentNumber": "0001",
                    "itemNumber": "01",
                    "registerDate": "2017-01-01",
                    "apportionmentDate": "2017-01-01",
                    "unitOfMeasureInternalid": "un",
                    "quantity": 1.0000,
                    "unitPrice": 792.00,
                    "increase": 1.50,
                    "decrease": 1.50,
                    "totalPrice": 793.50,
                    "customerVendorInternalId": "F;0001|01",
                    "currencyInternalId": "01||R$"                
                },
                {
					"companyInternalid": "01|010101|001.01",
                    "itemInternalid": "01|010101|001.01",
                    "documentType": "NFE",
                    "recNo": "001",
                    "number": "0001",
                    "itemNumber": "02",
                    "registerDate": "2017-01-01",
                    "apportionmentDate":"2017-01-01",
                    "unitOfMeasureInternalid": "un",
                    "quantity": 2.0000,
                    "unitPrice": 10.00,
                    "totalPrice": 20.00,
                    "customerVendorInternalId": "F;0001|01",
                    "currencyInternalId": "01||R$"                
                }
            ]
         },
         {
            "taskInternalId": "01|010101|PRJ0001|01|002.01.09",
            "taskCostAssignments": [
                {
					"companyInternalid": "01|010101|001.01",
                    "itemInternalid": "01|010101|001.01",
                    "documentType": "NFE",
                    "recNo": "001",
                    "documentNumber": "0001",
                    "itemNumber": "01",
                    "registerDate": "2017-01-01",
                    "apportionmentDate": "2017-01-01",
                    "unitOfMeasureInternalid": "un",
                    "quantity": 1.0000,
                    "unitPrice": 792.00,
                    "increase": 1.50,
                    "decrease": 1.50,
                    "totalPrice": 793.50,
                    "customerVendorInternalId": "F;0001|01",
                    "currencyInternalId": "01||R$"                
                },
                {
					"companyInternalid": "01|010101|001.01",
                    "itemInternalid": "01|010101|001.01",
                    "documentType": "NFE",
                    "recNo": "001",
                    "number": "0001",
                    "itemNumber": "02",
                    "registerDate": "2017-01-01",
                    "apportionmentDate": "2017-01-01",
                    "unitOfMeasureInternalid": "un",
                    "quantity": 2.0000,
                    "unitPrice": 10.00,
                    "totalPrice": 20.00,
                    "customerVendorInternalId": "F;0001|01",
                    "currencyInternalId": "01||R$"                
                }
            ]
         }      
      ]
    } 
}

 

 

  • Sem rótulos