Custom service D365
1) Create contract class Example Code: [Microsoft.Dynamics.BusinessPlatform.SharedTypes. InternalUseOnlyAttribute , DataContractAttribute ( 'TANVehicleMasterDataContract' )] class TANVehicleMasterDataContract { SalesAgreementId salesAgreementId; TANVehicleCategory vehicleCategory; TANVehicleFuelType fuelType; int vehicleID; TANPlateNo plateNo; TANMake make; TANModel model; TAN_RFID_Gatex RFIDGatex; TANOdometer_Gatex odometerGatex; int total; [DataMemberAttribute( "TotalCount" )] public int parmTotalCount( int _total = total) { total = _total; return total; } [DataMemberAttribute( "SalesAgreementId" )] public SalesAgreementId parmsalesAgreementId( TANVehicleCategory _salesAgreementId = salesAgreementId) { salesAgreementId = _sale