public AmxPeruCrearDisputaResponseDTO CallPsbServiceAmxPeruCrearDisputa(String _ProblemID, String _PartyAccountID, String _BillingAmountUnit,
                                                                                String _BillingAmount, String _ServiceSpecTypeName, String _EntitySpecType,
                                                                                String _EntitySpecID, String _IntStartDate, String _Description,
                                                                                String _BusinessIntTypeName, String _ReasonCode, String _Reson)
        {
            try
            {
                string operation = "AmxPeruTransaccionDisputas";
                //TO DO: Enable comments
                //TO DO: Enable comments
                string sUri = Util.GetCrmConfiguration(service, "PsbEndpoint");
                sUri += operation;

                AmxPeruCrearDisputaRequestDTO request = CreateRequest(_ProblemID, _PartyAccountID, _BillingAmountUnit, _BillingAmount, _ServiceSpecTypeName, _ServiceSpecTypeName, _EntitySpecID
                                                                      , _IntStartDate, _Description, _BusinessIntTypeName, _ReasonCode, _Reson);

                //string sUri = "http://localhost:6004/api/v1/workflow/AmxPeruTransaccionDisputas";

                // Call the member.
                IPSBServices psb = new PSBServices.PSBServices();
                return(psb.CrearDisputa(service, request, sUri));
            }
            catch
            {
                throw;
            }
        }
Esempio n. 2
0
        public GeneraIncidenciaResponseDTO CallPsbServiceAmxPeruGeneraIncidencia(IOrganizationService service, String _strUrgency, String _strServiceCI, String _strDescription, String _strCategory1
                                                                                 , String _strCategory2, String _strCategory3, String _strTaskId)
        {
            try
            {
                string operation = "AmxPeruGeneraIncidenciaExternal";
                //TO DO: Enable comments
                string sUri = Utilities.Util.GetCrmConfiguration(service, "PsbEndpoint");
                sUri += operation;

                GeneraIncidenciaRequestDTO request = CreateRequest(service, _strUrgency, _strServiceCI, _strDescription, _strCategory1, _strCategory2, _strCategory3
                                                                   , _strTaskId);

                // Call the member.
                IPSBServices psb = new PSBServices.PSBServices();
                return(psb.GeneraIncidencia(service, request, sUri));
            }
            catch
            {
                throw;
            }
        }
Esempio n. 3
0
        public AmxPeruTicketRemedyResponseDTO CallPsbServiceAmxPeruTicketRemedy(String strTicketId, String strTicketDesc, String strTicketStatus)
        {
            try
            {
                string operation = "AmxPeruTicketRemedy";
                //TO DO: Enable comments
                //TO DO: Enable comments
                string sUri = Util.GetCrmConfiguration(service, "PsbEndpoint");
                sUri += operation;

                AmxPeruTicketRemedyRequestDTO request = CreateRequest(strTicketId, strTicketDesc, strTicketStatus);
                //string Uri = "http://localhost:6004/api/v1/workflow/AmxPeruTicketRemedy";  //10.103.27.154:6004

                // Call the member.
                IPSBServices psb = new PSBServices.PSBServices();
                return(psb.ModificarTicket(service, request, sUri));
            }
            catch
            {
                throw;
            }
        }