Mobile

Mobile Controller

APIDescription
GET api/Mobile/GetUser

Gets the user information based on the authentication details

GET api/Mobile/GetReceivedDocuments?take={take}&orderByEmisionDate={orderByEmisionDate}&continuationToken={continuationToken}

Gets the received documents for the current user company.

GET api/Mobile/GetSentDocuments?take={take}&orderByEmisionDate={orderByEmisionDate}&continuationToken={continuationToken}

Gets the sent documents for the current user company.

GET api/Mobile/HtmlViewer?documentId={documentId}

Document html viewer .

GET api/Mobile/DownloadPdf?documentId={documentId}

Downloads the PDF.

GET api/Mobile/DownloadXml?documentId={documentId}

Downloads the XML.

GET api/Mobile/SearchReceivedDocuments?searchTerm={searchTerm}&accountCode={accountCode}&fromDate={fromDate}&toDate={toDate}&page={page}&pageSize={pageSize}

Search the list of received documents

GET api/Mobile/SearchSentDocuments?searchTerm={searchTerm}&accountCode={accountCode}&fromDate={fromDate}&toDate={toDate}&page={page}&pageSize={pageSize}

Search the list of issued documents

POST api/Mobile/ChangeAccount?accountId={accountId}&countryId={countryId}

Sets the current account for the user

GET api/Mobile/GetMyCompanies

Get a list of my companies to display

Gadget

APIDescription
GET api/Gadget/GetUser

Get an object that contains the information of authenticated user.

GET api/Gadget/GetAcl

Get the user permissions of authenticated user.

GET api/Gadget/GetMyAccounts

Get a collection acccounts of authenticated user

GET api/Gadget/GetAccount?code={code}

Gets an object that contains the information account by code.

GET api/Gadget/GetAccount?accountId={accountId}

Get an object that contains the information account by account id.

GET api/Gadget/GetClients?MyAccountId={MyAccountId}&Page={Page}

Get all clients from a specific account

GET api/Gadget/GetVendors?MyAccountId={MyAccountId}&Page={Page}

Get all suppliers from a specific account.

GET api/Gadget/GetVendors?accountId={accountId}&page={page}&elementsByPage={elementsByPage}&vendorCode={vendorCode}

Get all suppliers from a specific account and code.

GET api/Gadget/CountVendors?accountId={accountId}&vendorCode={vendorCode}

Get a count of suppliers

GET api/Gadget/GetDocumentTypes

Get all document types avialable for the country

GET api/Gadget/GetSentDocumentsByPO?MyAccountId={MyAccountId}&PO={PO}&Page={Page}

GET api/Gadget/GetSentDocuments?MyAccountId={MyAccountId}&fromDate={fromDate}&toDate={toDate}&DocumentTypeId={DocumentTypeId}&ReceiverCode={ReceiverCode}&Number={Number}&Page={Page}&ReadMode={ReadMode}

Return the list of issued documents where the account has access to.

GET api/Gadget/GetSentDocuments?accountId={accountId}&ReceiverCode={ReceiverCode}&Number={Number}&DateFrom={DateFrom}&DateTo={DateTo}&Count={Count}

Return the list of issued documents where the account has access to.

GET api/Gadget/GetSentDocuments?accountId={accountId}&fromDate={fromDate}&toDate={toDate}&documentTypesId={documentTypesId}&numbers={numbers}

Return the list of issued documents where the account has access to.

GET api/Gadget/GetSentDocuments?fromDate={fromDate}&toDate={toDate}&documentTypesId={documentTypesId}

No documentation available.

GET api/Gadget/GetSentDocuments?fromDate={fromDate}&toDate={toDate}&documentTypesId={documentTypesId}&numbers={numbers}

No documentation available.

GET api/Gadget/GetSentDocument?documentId={documentId}&senderAccountId={senderAccountId}&date={date}

Return the list of issued documents where the account has access to.

POST api/Gadget/SendEmail?to={to}&name={name}&subject={subject}&templateName={templateName}&replacements={replacements}

Send an email.

GET api/Gadget/GetReceivedDocuments?MyAccountId={MyAccountId}&FromDate={FromDate}&ToDate={ToDate}&DocumentTypeId={DocumentTypeId}&SenderCode={SenderCode}&Number={Number}&Page={Page}&ReadMode={ReadMode}

Return the list of received documents where the account has access to.

GET api/Gadget/GetReceivedDocuments?FromDate={FromDate}&ToDate={ToDate}

No documentation available.

GET api/Gadget/GetXml?DocumentId={DocumentId}

Get an array of bytes that contains the xml document.

GET api/Gadget/GetDistributionRules?SenderCode={SenderCode}&ReceiverCode={ReceiverCode}

Return the list of distribution rules created.

GET api/Gadget/GetDocumentAttachments?CountryId={CountryId}&DocumentId={DocumentId}&Date={Date}&Sent={Sent}

Return the list of attachments associated to a specific document.

GET api/Gadget/GetAttachment?CountryId={CountryId}&AttachmentId={AttachmentId}

Get an object that contains the information of attachment.

GET api/Gadget/GetUserAndContactsForVendor?vendorAccountId={vendorAccountId}&searchWord={searchWord}

Return the list of contacts.

POST api/Gadget/SetDocumentOwner?documentId={documentId}&documentDate={documentDate}&accountId={accountId}&reason={reason}&creationSource={creationSource}&denied={denied}

No documentation available.

GET api/Gadget/ExistAttachment?documentId={documentId}&documentDate={documentDate}&attachmentTypeId={attachmentTypeId}

Check if attachment is associated to a document.

GET api/Gadget/GetExpireDate?documentId={documentId}

No documentation available.

GET api/Gadget/GetBanks

Return the list of banks of authenticated user.

POST api/Gadget/SetBanks

Add a new bank to the authenticated user.

GET api/Gadget/GetCompanyName?codes={codes}

No documentation available.

GET api/Gadget/SendNotification?email={email}&menuTitle={menuTitle}&content={content}&message={message}&read={read}

No documentation available.

App

APIDescription
GET api/App/GetFederations?countryId={countryId}

No documentation available.

GET api/App/GetAccounts?CountryId={CountryId}&Page={Page}

No documentation available.

GET api/App/FindAccounts?CountryId={CountryId}&Code={Code}

No documentation available.

GET api/App/FindAccounts?CountryId={CountryId}&Code={Code}&Name={Name}

No documentation available.

GET api/App/GetSentDocuments?fromDate={fromDate}&toDate={toDate}&documentTypesId={documentTypesId}&countryId={countryId}&accountId={accountId}

No documentation available.

GET api/App/GetSentDocuments?CountryId={CountryId}&FederationId={FederationId}&AccountId={AccountId}&Page={Page}

No documentation available.

GET api/App/GetSentDocuments?CountryId={CountryId}&FederationId={FederationId}&AccountId={AccountId}&FromDate={FromDate}&ToDate={ToDate}&DocumentTypeId={DocumentTypeId}&ReceiverCode={ReceiverCode}&Number={Number}&Page={Page}

Return the list of issued documents where the account has access to.

GET api/App/GetSentDocuments?MyAccountId={MyAccountId}&fromDate={fromDate}&toDate={toDate}&DocumentTypeId={DocumentTypeId}&ReceiverCode={ReceiverCode}&Number={Number}&Page={Page}&ReadMode={ReadMode}

Return the list of issued documents where the account has access to.

GET api/App/GetReceivedDocuments?CountryId={CountryId}&FederationId={FederationId}&AccountId={AccountId}&Page={Page}

No documentation available.

GET api/App/GetReceivedDocuments?CountryId={CountryId}&FederationId={FederationId}&AccountId={AccountId}&FromDate={FromDate}&ToDate={ToDate}&DocumentTypeId={DocumentTypeId}&SenderCode={SenderCode}&Number={Number}&Page={Page}

Return the list of received documents where the account has access to.

GET api/App/GetXml?CountryId={CountryId}&DocumentId={DocumentId}

Get an array of bytes that contains the xml document.

GET api/App/GetXml?CountryId={CountryId}&DocumentId={DocumentId}&Date={Date}

No documentation available.

GET api/App/GetDistributionRules?CountryId={CountryId}&ReceiverCode={ReceiverCode}

No documentation available.

GET api/App/GetDistributionRules?CountryId={CountryId}&SenderCode={SenderCode}&ReceiverCode={ReceiverCode}

No documentation available.

GET api/App/GetDocumentAttachments?CountryId={CountryId}&DocumentId={DocumentId}&Date={Date}&Sent={Sent}

Retorna una lista de adjunto para un documento

GET api/App/GetAttachment?CountryId={CountryId}&AttachmentId={AttachmentId}

Retorna el adjunto (archivo - arreglo de bytes)

GET api/App/GetClients?MyAccountId={MyAccountId}&Page={Page}

Get all clients from a specific account

GET api/App/GetVendors?MyAccountId={MyAccountId}&Page={Page}

Get all suppliers from a specific account.

GET api/App/GetAccountsAcceptedExternalDocumentAccess

Get accounts that allowed the specified gadget external access to documents.

AppLicense

Licencias de aplicaciones en la plataforma Gosocket.

APIDescription
GET api/AppLicense/GetAppLicense

Devuelve la última licencia comprada para acceder a la aplicacion actual de la solicitud.

GET api/AppLicense/GetAppLicenseHistory

Devuelve el histórico de licencias compradas para la aplicacion actual de la solicitud.

GET api/AppLicense/GetAppLicenseHistoryByAccount

Devuelve el histórico de licencias compradas para la aplicacion y empresa del usuario actual de la solicitud.

GET api/AppLicense/GetAppLicenseHistoryByUser

Devuelve el histórico de licencias compradas para la aplicacion y usuario actual de la solicitud.

GET api/AppLicense/GetLicenseTypesByApp

Devuelve los tipos de licencia de la aplicacion actual de la solicitud.

Commerce

APIDescription
GET api/Commerce/Search?CountryId={CountryId}&Query={Query}&Limit={Limit}

No documentation available.

GET api/Commerce/GetCatalog?CountryId={CountryId}&AccountId={AccountId}&SelectedAccountId={SelectedAccountId}&Take={Take}&Page={Page}

No documentation available.

GET api/Commerce/GetOrder?CountryId={CountryId}&SelectedAccountId={SelectedAccountId}&OrderNumber={OrderNumber}

No documentation available.

GET api/Commerce/GetProducts?CountryId={CountryId}&SelectedAccountId={SelectedAccountId}&OrderNumber={OrderNumber}

No documentation available.

GET api/Commerce/AddProductToOrder?CountryId={CountryId}&SelectedAccountId={SelectedAccountId}&ProductId={ProductId}&Quantity={Quantity}&OrderNumber={OrderNumber}

No documentation available.

GET api/Commerce/RemoveProductFromOrder?CountryId={CountryId}&SelectedAccountId={SelectedAccountId}&ProductId={ProductId}&OrderNumber={OrderNumber}

No documentation available.

GET api/Commerce/DiscardOrder?CountryId={CountryId}&SelectedAccountId={SelectedAccountId}&OrderNumber={OrderNumber}

No documentation available.

GET api/Commerce/ConfirmOrder?CountryId={CountryId}&UserId={UserId}&AccountId={AccountId}&SelectedAccountId={SelectedAccountId}&OrderNumber={OrderNumber}&OfficeId={OfficeId}

No documentation available.

Sync

APIDescription
POST api/Sync/Send

Receive a batch that contains multiple xml documents provided in the request.

GET api/Sync/ListDownloadDocuments?MessageCount={MessageCount}

Return the list of documents available for downloading

GET api/Sync/ListDocuments?MessageCount={MessageCount}

No documentation available.

GET api/Sync/GetXml?DocumentId={DocumentId}&DocumentDate={DocumentDate}

Get an array of bytes that contains the xml document.

POST api/Sync/ConfirmDownloadDocument

Confirm that xml document was downloaded.

GET api/Sync/Check?TrackId={TrackId}

Check the status of the batch sent

GET api/Sync/ReceiveBatch

No documentation available.

GET api/Sync/Receive

No documentation available.

POST api/Sync/ChangeTwoCheckDocumentState

No documentation available.

POST api/Sync/CreateUserAccount

Allow an owner's account to create an administrador user, also an email will send to the user's e-mail with his login information.

POST api/Sync/ChangeMembershipAccount?AccountCode={AccountCode}&MembershipType={MembershipType}

POST api/Sync/ReceiveAccountBatch

Receive a batch of accounts associated with a partner.

GET api/Sync/GetAccountsTokenUsed?Date={Date}&Page={Page}

GET api/Sync/GetUsers?AccountId={AccountId}

GET api/Sync/GetSentDocuments?countryId={countryId}&accountCode={accountCode}&take={take}&orderByEmisionDate={orderByEmisionDate}&continuationToken={continuationToken}

Gets the sent documents for the current user company.

GET api/Sync/CheckAccountPartnerBatch?TrackId={TrackId}

Check the status of the account batch.

POST api/Sync/GetSendDocuments

No documentation available.

GET api/Sync/DownloadPdf?documentId={documentId}

No documentation available.

GET api/Sync/DownloadXml?documentId={documentId}

No documentation available.

GET api/Sync/GetDocumentFromIdTable?documentId={documentId}

No documentation available.