SaleProcess
Click here for a complete list of operations.
GetAccount
[#17.01][ACCOUNT] Retorna la cuenta asociada
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WS/SaleProcess.asmx HTTP/1.1 Host: api-sandbox.sistemacoris.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetAccount" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetAccount xmlns="http://tempuri.org/"> <tokenSession>string</tokenSession> </GetAccount> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetAccountResponse xmlns="http://tempuri.org/"> <GetAccountResult> <Id>int</Id> <Name>string</Name> <FiscalNumber>string</FiscalNumber> <FiscalName>string</FiscalName> <FiscalDocumentTypeId>int</FiscalDocumentTypeId> <Description>string</Description> <Address>string</Address> <FloorApartment>string</FloorApartment> <Phone>string</Phone> <Web>string</Web> <Logo>string</Logo> <LogoAbsoluteUrl>string</LogoAbsoluteUrl> <Mail>string</Mail> <AdministrationMail>string</AdministrationMail> <CancellationsMail>string</CancellationsMail> <CollectionsMail>string</CollectionsMail> <SalesMail>string</SalesMail> <Type> <Id>int</Id> <Name>string</Name> </Type> <Country> <Id>int</Id> <Name>string</Name> <IsoCode>string</IsoCode> <ContinentId>int</ContinentId> <CurrencyId>int</CurrencyId> </Country> <State> <Id>int</Id> <Name>string</Name> <CountryId>int</CountryId> </State> <City> <Id>int</Id> <Name>string</Name> <StateId>int</StateId> </City> <ZoneId>int</ZoneId> <IdBaseAccount>int</IdBaseAccount> <CurrencyId>int</CurrencyId> <Contacts> <AccountContact> <Id>int</Id> <ContactTypeId>int</ContactTypeId> <Name>string</Name> <Description>string</Description> <Skype>string</Skype> <CssIcon>string</CssIcon> <PersonalMail>string</PersonalMail> <PersonalPhone>string</PersonalPhone> <PersonalCellPhone>string</PersonalCellPhone> <WorkMail>string</WorkMail> <WorkPhone>string</WorkPhone> <WorkCellPhone>string</WorkCellPhone> </AccountContact> <AccountContact> <Id>int</Id> <ContactTypeId>int</ContactTypeId> <Name>string</Name> <Description>string</Description> <Skype>string</Skype> <CssIcon>string</CssIcon> <PersonalMail>string</PersonalMail> <PersonalPhone>string</PersonalPhone> <PersonalCellPhone>string</PersonalCellPhone> <WorkMail>string</WorkMail> <WorkPhone>string</WorkPhone> <WorkCellPhone>string</WorkCellPhone> </AccountContact> </Contacts> <SiigoBiller>boolean</SiigoBiller> <FinalConsumer>boolean</FinalConsumer> <InvoiceToThirdParties>boolean</InvoiceToThirdParties> <CanBuy>boolean</CanBuy> </GetAccountResult> </GetAccountResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /WS/SaleProcess.asmx HTTP/1.1 Host: api-sandbox.sistemacoris.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetAccount xmlns="http://tempuri.org/"> <tokenSession>string</tokenSession> </GetAccount> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetAccountResponse xmlns="http://tempuri.org/"> <GetAccountResult> <Id>int</Id> <Name>string</Name> <FiscalNumber>string</FiscalNumber> <FiscalName>string</FiscalName> <FiscalDocumentTypeId>int</FiscalDocumentTypeId> <Description>string</Description> <Address>string</Address> <FloorApartment>string</FloorApartment> <Phone>string</Phone> <Web>string</Web> <Logo>string</Logo> <LogoAbsoluteUrl>string</LogoAbsoluteUrl> <Mail>string</Mail> <AdministrationMail>string</AdministrationMail> <CancellationsMail>string</CancellationsMail> <CollectionsMail>string</CollectionsMail> <SalesMail>string</SalesMail> <Type> <Id>int</Id> <Name>string</Name> </Type> <Country> <Id>int</Id> <Name>string</Name> <IsoCode>string</IsoCode> <ContinentId>int</ContinentId> <CurrencyId>int</CurrencyId> </Country> <State> <Id>int</Id> <Name>string</Name> <CountryId>int</CountryId> </State> <City> <Id>int</Id> <Name>string</Name> <StateId>int</StateId> </City> <ZoneId>int</ZoneId> <IdBaseAccount>int</IdBaseAccount> <CurrencyId>int</CurrencyId> <Contacts> <AccountContact> <Id>int</Id> <ContactTypeId>int</ContactTypeId> <Name>string</Name> <Description>string</Description> <Skype>string</Skype> <CssIcon>string</CssIcon> <PersonalMail>string</PersonalMail> <PersonalPhone>string</PersonalPhone> <PersonalCellPhone>string</PersonalCellPhone> <WorkMail>string</WorkMail> <WorkPhone>string</WorkPhone> <WorkCellPhone>string</WorkCellPhone> </AccountContact> <AccountContact> <Id>int</Id> <ContactTypeId>int</ContactTypeId> <Name>string</Name> <Description>string</Description> <Skype>string</Skype> <CssIcon>string</CssIcon> <PersonalMail>string</PersonalMail> <PersonalPhone>string</PersonalPhone> <PersonalCellPhone>string</PersonalCellPhone> <WorkMail>string</WorkMail> <WorkPhone>string</WorkPhone> <WorkCellPhone>string</WorkCellPhone> </AccountContact> </Contacts> <SiigoBiller>boolean</SiigoBiller> <FinalConsumer>boolean</FinalConsumer> <InvoiceToThirdParties>boolean</InvoiceToThirdParties> <CanBuy>boolean</CanBuy> </GetAccountResult> </GetAccountResponse> </soap12:Body> </soap12:Envelope>