API dinahosting
Todos os comandos que necessitas para implementares a própria plataforma de venda e gestão de domínios, alojamento web, VPS... usando a interface, automatizando e planificando ações sobre um ou vários serviços.
-
API em PDF
Descarregar Data de atualização: 31/08/2026 07:59:18 -
Biblioteca de arquivos
Descarregar Dinahosting HTTP_Request libary files
Documentação da API
A seguir, podes ver a documentação completa da API da dinahosting e a lista de comandos disponíveis. Cada comando inclui uma descrição detalhada do seu funcionamento, os parâmetros que admite e os possíveis tipos de resposta.
Ao se selecionar um comando, mostrar-se-á também um gerador de pedidos e um simulador de resposta, que te vão permitir testar como invocar a API e ver a resposta real devolvida pelo servidor.
Lista de comandos
-
Billing
- Billing_Autorenew_GetAll
- Billing_Autorenew_SetOn
- Billing_Autorenew_SetOff
- Billing_Autorenew_SetNoRenewable
- Billing_NoRenewable_GetAll
- Billing_NoRenewable_SetRenewable
- Billing_Period_Vps
- Billing_Period_Multihosting
- Billing_Period_Domain
- Billing_Period_Hosting
- Billing_GetConfigurableVpsOptions
- Billing_Buy_Sms
- Billing_Buy_Multihosting
- Billing_Buy_Vps_Unmanaged_Linux
- Billing_Buy_Vps_Unmanaged_Windows
- Billing_Buy_Vps_Managed_Linux
- Billing_Buy_Vps_Managed_Windows
- Billing_Buy_Domain
- Billing_Buy_DomainUsingContactsIds
- Billing_Buy_Hosting
- Billing_Transfer_Domain
- Billing_Transfer_GetRequirements
- Billing_Renew_Sms
- Billing_Renew_Vps
- Billing_Renew_Multihosting
- Billing_Renew_Domain
- Billing_Renew_Hosting
- Billing_Price_Sms
- Billing_Price_Multihosting
- Billing_Price_Vps_Unmanaged_Linux
- Billing_Price_Vps_Unmanaged_Windows
- Billing_Price_Vps_Managed_Linux
- Billing_Price_Vps_Managed_Windows
- Billing_Price_Domain
- Billing_Price_Hosting
- Billing_Help_DomainExtraData
-
Dedicated
- Dedicated_GetUsedSpace
- Dedicated_GetMonitorizedPorts
- Dedicated_Kvm_Mount
- Dedicated_Kvm_Unmount
- Dedicated_Kvm_Get
- Dedicated_GetLicenses
- Dedicated_Hosting_GetAll
- Dedicated_Hosting_GetSpace
- Dedicated_Hosting_GetSetupName
- Dedicated_Hosting_Delete
- Dedicated_Hosting_Activate
- Dedicated_Hosting_ChangeSetup
- Dedicated_Hosting_Create
- Dedicated_Hosting_Deactivate
- Dedicated_GetDataTransferInfo
- Dedicated_MailReport_Set
- Dedicated_MailReport_SetOff
- Dedicated_MailReport_Get
- Dedicated_ForVps_Vps_GetAll
- Dedicated_ForVps_Vps_Update
- Dedicated_ForVps_Vps_GetTypes
- Dedicated_ForVps_Vps_Delete
- Dedicated_ForVps_Vps_Create_Managed
- Dedicated_ForVps_Vps_Create_Unmanaged
- Dedicated_ForVps_Vps_Activate
- Dedicated_ForVps_Vps_Deactivate
- Dedicated_ForVps_GetServerInfo
- Dedicated_ForVps_GetTicketStatus
- Dedicated_Services_GetAll
- Dedicated_Services_ChangeStatus
- Dedicated_GetServerInfo
- Dedicated_HostingSetup_GetAll
- Dedicated_HostingSetup_Update
- Dedicated_HostingSetup_GetDhSetups
- Dedicated_HostingSetup_Delete
- Dedicated_HostingSetup_GetOptions
- Dedicated_HostingSetup_Get
- Dedicated_HostingSetup_GetCustomSetups
- Dedicated_HostingSetup_Create
- Dedicated_PowerStatus_Restart
- Dedicated_GetTransferValue
- Dedicated_GetSpaceAndTransferReportPerHosting
- Dedicated_Monitorization_Activate
- Dedicated_Monitorization_Get
- Dedicated_Monitorization_Deactivate
- Dedicated_GetBandwidthConsumption
- Dedicated_Nfs_Get
- Dedicated_Control_GetCpuLoadByHosting
- Dedicated_Control_KillMysqlProcess
- Dedicated_Control_GetMysqlProcesses
- Dedicated_Control_GetWebserverStatus
- Dedicated_Control_GetApacheProcesses
- Dedicated_Control_GetSystemLoad
- Dedicated_Control_GetSystemStatus
-
Domain
- Domain_NameServer_GetAll
- Domain_NameServer_Modify
- Domain_NameServer_Delete
- Domain_NameServer_Register
- Domain_GetRegistrationDate
- Domain_Status_IsLocked
- Domain_Status_Unlock
- Domain_Status_Lock
- Domain_Status_Get
- Domain_WhoisPrivacy_Set
- Domain_WhoisPrivacy_Get
- Domain_CheckForTransfer
- Domain_Redirection_GetAll
- Domain_Redirection_Delete
- Domain_Redirection_SetStd
- Domain_Redirection_SetFrame
- Domain_Redirection_Set301
- Domain_Redirection_Get
- Domain_Redirection_SetFrameSimple
- Domain_PanelIndependentAccess_SetPassword
- Domain_GetInfoDomain
- Domain_GetExpirationDate
- Domain_CheckForRegister
- Domain_Test
- Domain_GetRenovationDate
- Domain_Transfer_SetAuthcode
- Domain_Transfer_GetStatus
- Domain_Transfer_Cancel
- Domain_Transfer_GetAuthcode
- Domain_Transfer_Restart
- Domain_GetAuthcode
- Domain_Parking_Set
- Domain_Parking_Get
- Domain_Dnss_Set
- Domain_Dnss_Get
- Domain_UrlShortener_GetAll
- Domain_UrlShortener_Delete
- Domain_UrlShortener_Activate
- Domain_UrlShortener_Create
- Domain_UrlShortener_Deactivate
- Domain_Contacts_GetAll
- Domain_Contacts_GetRegistrantVerificationInfo
- Domain_Contacts_Set
- Domain_Contacts_SetAll
- Domain_Contacts_Get
- Domain_Zone_GetAll
- Domain_Zone_GetTypeSPF
- Domain_Zone_UpdateTypeAAAA
- Domain_Zone_GetTypeSRV
- Domain_Zone_DeleteTypeAname
- Domain_Zone_AddTypeMXS
- Domain_Zone_AddTypeMX
- Domain_Zone_DeleteAll
- Domain_Zone_GetTypeURL301
- Domain_Zone_AddTypeTXT
- Domain_Zone_AddTypeFrame
- Domain_Zone_DeleteTypeAAAA
- Domain_Zone_GetTypeMX
- Domain_Zone_DeleteTypeURL
- Domain_Zone_GetTypeAname
- Domain_Zone_DeleteTypeURL301
- Domain_Zone_GetTypeAAAA
- Domain_Zone_AddTypeAname
- Domain_Zone_UpdateTypeA
- Domain_Zone_Delete
- Domain_Zone_GetTypeCname
- Domain_Zone_DeleteTypeCname
- Domain_Zone_UpdateTypeAname
- Domain_Zone_GetTypeA
- Domain_Zone_AddTypeURL301
- Domain_Zone_GetTypeTXT
- Domain_Zone_AddTypeAAAA
- Domain_Zone_AddTypeMXDetailedEmail
- Domain_Zone_AddTypeSRV
- Domain_Zone_GetTypeURL
- Domain_Zone_UrlShortener_GetAll
- Domain_Zone_UrlShortener_Delete
- Domain_Zone_UrlShortener_Activate
- Domain_Zone_UrlShortener_Create
- Domain_Zone_UrlShortener_Deactivate
- Domain_Zone_AddTypeA
- Domain_Zone_AddTypeCname
- Domain_Zone_DeleteTypeMX
- Domain_Zone_DeleteTypeSPF
- Domain_Zone_DeleteTypeFrame
- Domain_Zone_DeleteTypeTXT
- Domain_Zone_GetTypeFrame
- Domain_Zone_DeleteTypeSRV
- Domain_Zone_AddTypeURL
- Domain_Zone_DeleteTypeA
- DomainVerification
-
Hosting
- Hosting_Ddbb_GetAll
- Hosting_Ddbb_MongoDb_GetAll
- Hosting_Ddbb_MongoDb_SetPassword
- Hosting_Ddbb_MongoDb_Delete
- Hosting_Ddbb_Access_GetAllMdb
- Hosting_Ddbb_Sqlserver_GetAll
- Hosting_Ddbb_Sqlserver_GetGlobalSpaceInfo
- Hosting_Ddbb_Sqlserver_SetPassword
- Hosting_Ddbb_Sqlserver_SetDataSize
- Hosting_Ddbb_Sqlserver_GetSpaceInfo
- Hosting_Ddbb_Sqlserver_Delete
- Hosting_Ddbb_Sqlserver_SetTransactionsSize
- Hosting_Ddbb_Sqlserver_Create
- Hosting_Ddbb_Postgre_GetAll
- Hosting_Ddbb_Postgre_SetPassword
- Hosting_Ddbb_Postgre_Delete
- Hosting_Ddbb_Postgre_Create
- Hosting_Ddbb_Mysql_GetAll
- Hosting_Ddbb_Mysql_SetPassword
- Hosting_Ddbb_Mysql_BackupTask_GetAll
- Hosting_Ddbb_Mysql_BackupTask_Set
- Hosting_Ddbb_Mysql_BackupTask_Delete
- Hosting_Ddbb_Mysql_GetInfo
- Hosting_Ddbb_Mysql_Backup_Restore
- Hosting_Ddbb_Mysql_Backup_Get
- Hosting_Ddbb_Mysql_CreateWithIpAcl
- Hosting_Ddbb_Mysql_Delete
- Hosting_Ddbb_Mysql_SetIpAcl
- Hosting_Ddbb_Mysql_Create
- Hosting_Ddbb_Mysql_GetAclConfiguration
- Hosting_Ddbb_Mysql_SetHostAcl
- Hosting_Ddbb_MariaDb_GetAll
- Hosting_Ddbb_MariaDb_SetPassword
- Hosting_Ddbb_MariaDb_Delete
- Hosting_Ddbb_MariaDb_Create
- Hosting_Ssh_Activate
- Hosting_Ssh_Get
- Hosting_Ssh_Deactivate
- Hosting_PanelIndependentAccess_SetPassword
- Hosting_Dsn_Access_GetAll
- Hosting_Dsn_Access_Delete
- Hosting_Dsn_Access_Create
- Hosting_Dsn_Sqlserver_GetAll
- Hosting_Dsn_Sqlserver_Delete
- Hosting_Dsn_Sqlserver_Create
- Hosting_Dsn_Mysql_GetAll
- Hosting_Dsn_Mysql_Delete
- Hosting_Dsn_Mysql_Create
- Hosting_GetInfo
- Hosting_GetDaysWithBackups
- Hosting_Php_OverwritePhpIni
- Hosting_Php_SetVersion
- Hosting_Php_ActivatePhpExecutionOnHtml
- Hosting_Php_OverwritePhpIniWithDefaults
- Hosting_Php_DeactivatePhpExecutionOnHtml
- Hosting_Php_PhpExecutionOnHtmlIsActive
- Hosting_Backup_Database_GetTables
- Hosting_Backup_GetDatabases
- Hosting_Backup_GetStatus
- Hosting_Backup_GetResources
- Hosting_Backup_GetEmailAccounts
- Hosting_Backup_Send_Resource
- Hosting_Backup_Send_Database_Tables
- Hosting_Backup_Send_Database
- Hosting_Backup_Restore_Resource
- Hosting_Backup_Restore_Database_Tables
- Hosting_Backup_Restore_Database
- Hosting_Backup_Restore_EmailAccounts
- Hosting_Subdomain_GetAll
- Hosting_Subdomain_Delete
- Hosting_Subdomain_Create
- Hosting_Certificate_Uninstall
- Hosting_Certificate_Install
- Hosting_Certificate_ActivateLetsEncrypt
- Hosting_Certificate_DeactivateLetsEncrypt
- Hosting_Ftp_GetAccountsLimit
- Hosting_Ftp_Activate
- Hosting_Ftp_Get
- Hosting_Ftp_Account_GetAll
- Hosting_Ftp_Account_SetPassword
- Hosting_Ftp_Account_CmdStatus_GetSetPassword
- Hosting_Ftp_Account_CmdStatus_ListAll
- Hosting_Ftp_Account_CmdStatus_GetCreate
- Hosting_Ftp_Account_CmdStatus_GetDelete
- Hosting_Ftp_Account_Delete
- Hosting_Ftp_Account_Create
- Hosting_Ftp_Deactivate
- Hosting_Test
- Hosting_GetMailInfo
- Hosting_TlsMail_Activate
- Hosting_TlsMail_Get
- Hosting_TlsMail_Deactivate
- Hosting_UrlShortener_GetAll
- Hosting_UrlShortener_Delete
- Hosting_UrlShortener_Activate
- Hosting_UrlShortener_Create
- Hosting_UrlShortener_Deactivate
- Hosting_Import_ApplyForEmailAccountImap
- Hosting_Import_ApplyForEmailAccountPop
- Hosting_Import_List
- Hosting_Import_ApplyForFtp
- Hosting_Import_ListAll
- Hosting_Import_ApplyForDdbb
- Hosting_Email_UsedSpace_GetPerAlias
- Hosting_Email_UsedSpace_Get
- Hosting_Email_Antispam_AddDomainToBlacklist
- Hosting_Email_Antispam_GetConfig
- Hosting_Email_Antispam_AddDomainToWhitelist
- Hosting_Email_Antispam_SetConfig
- Hosting_Email_Antispam_SetScore
- Hosting_Email_Antispam_Activate
- Hosting_Email_Antispam_GetBlacklist
- Hosting_Email_Antispam_GetWhitelist
- Hosting_Email_Antispam_RemoveDomainFromBlacklist
- Hosting_Email_Antispam_GetScore
- Hosting_Email_Antispam_RemoveDomainFromWhitelist
- Hosting_Email_Antispam_Deactivate
- Hosting_Email_Redirection_GetAll
- Hosting_Email_Redirection_Update
- Hosting_Email_Redirection_Delete
- Hosting_Email_Redirection_ActivateCatchAll
- Hosting_Email_Redirection_Get
- Hosting_Email_Redirection_DeactivateCatchAll
- Hosting_Email_Redirection_Create
- Hosting_Email_Dkim_Activate
- Hosting_Email_Dkim_Get
- Hosting_Email_Dkim_IsActive
- Hosting_Email_Dkim_Deactivate
- Hosting_Email_AutomaticDeletion_CreateRule
- Hosting_Email_AutomaticDeletion_DeleteRule
- Hosting_Email_Filter_GetAll
- Hosting_Email_Filter_GetGeolocalization
- Hosting_Email_Filter_CreateForSpam
- Hosting_Email_Filter_SetGeolocalization
- Hosting_Email_Filter_Delete
- Hosting_Email_Filter_Create
- Hosting_Email_Autoresponse_Delete
- Hosting_Email_Autoresponse_Activate
- Hosting_Email_Autoresponse_Get
- Hosting_Email_Autoresponse_Create
- Hosting_Email_Autoresponse_Deactivate
- Hosting_Email_Account_GetAll
- Hosting_Email_Account_SetPassword
- Hosting_Email_Account_GetCopyTo
- Hosting_Email_Account_Delete
- Hosting_Email_Account_Empty
- Hosting_Email_Account_Activate
- Hosting_Email_Account_SetCopyTo
- Hosting_Email_Account_Get
- Hosting_Email_Account_RemoveCopyTo
- Hosting_Email_Account_Create
- Hosting_Email_Account_Deactivate
- Hosting_Email_Antivirus_GetConfig
- Hosting_Email_Antivirus_GetAttachedFilesFilters
- Hosting_Email_Antivirus_SetConfig
- Hosting_Email_Antivirus_UpdateAttachedFileFilter
- Hosting_IsActive
- Hosting_Https_Activate
- Hosting_Https_Get
- Hosting_Https_Deactivate
- Housing
- Import
-
Multihosting
- Multihosting_GetUsedSpace
- Multihosting_GetLicenses
- Multihosting_Hosting_GetAll
- Multihosting_Hosting_GetSpace
- Multihosting_Hosting_Delete
- Multihosting_Hosting_Activate
- Multihosting_Hosting_ChangeSetup
- Multihosting_Hosting_Create
- Multihosting_Hosting_Deactivate
- Multihosting_GetInfo
- Multihosting_GetUsedTransfer
- Multihosting_MailReport_Set
- Multihosting_MailReport_SetOff
- Multihosting_MailReport_Get
- Multihosting_HostingSetup_GetAll
- Multihosting_HostingSetup_Update
- Multihosting_HostingSetup_Delete
- Multihosting_HostingSetup_GetOptions
- Multihosting_HostingSetup_Get
- Multihosting_HostingSetup_Create
- Multihosting_GetEmailAccountsNumber
- Payment
- Reseller
-
Services
- Services_GetCloudServers
- Services_GetHostings
- Services_GetMultihostings
- Services_GetManagedCloudServers
- Services_GetSms
- Services_GetManagedVps
- Services_GetHousingServers
- Services_GetDomainTransfers
- Services_GetVps
- Services_GetDomains
- Services_GetUnmanagedDedicatedServers
- Services_GetUnmanagedVps
- Services_GetDedicatedServers
- Services_GetAllManagedServersNames
- Services_GetUnmanagedCloudServers
- Services_GetManagedDedicatedServers
-
Sms
- Sms_Programmed_Cancel
- Sms_PanelIndependentAccess_SetPassword
- Sms_GetSender
- Sms_SetUp
- Sms_Phonebook_UpdateContact
- Sms_Phonebook_DeleteContact
- Sms_Phonebook_CreateContact
- Sms_Phonebook_GetAllContacts
- Sms_GetCredit
- Sms_DeliveryList_GetAll
- Sms_DeliveryList_Update
- Sms_DeliveryList_Delete
- Sms_DeliveryList_Get
- Sms_DeliveryList_GetPhones
- Sms_DeliveryList_Create
- Sms_Send_Bulk_Limited_Gsm7
- Sms_Send_Bulk_Limited_Unicode
- Sms_Send_Bulk_Long_Gsm7
- Sms_Send_Bulk_Long_Unicode
- Sms_History_GetBulkSent
- Sms_History_GetProgrammed
- Sms_History_GetSent
- System
-
User
- User_Secondary_GetAll
- User_Secondary_Update
- User_Secondary_Delete
- User_Secondary_Create
- User_GetNotifications
- User_Data_GetValidLegalForms
- User_GetInfo
- User_GetInvoicedAmount
- User_Default_GetTechContact
- User_Default_GetDnss
- User_Default_GetAdminContact
- User_GetServices
- User_SendContactVerification
- User_GetContactVerificationStatus
- User_GetLastLoginDate
-
Vps
- Vps_GetUsedSpace
- Vps_GetMonitorizedPorts
- Vps_GetLicenses
- Vps_GetAllHostingsFullReport
- Vps_Hosting_GetAll
- Vps_Hosting_GetSetupName
- Vps_Hosting_Delete
- Vps_Hosting_Activate
- Vps_Hosting_ChangeSetup
- Vps_Hosting_Create
- Vps_Hosting_Deactivate
- Vps_GetDataTransferInfo
- Vps_MailReport_Set
- Vps_MailReport_SetOff
- Vps_MailReport_Get
- Vps_Services_GetAll
- Vps_Services_ChangeStatus
- Vps_GetServerInfo
- Vps_HostingSetup_GetAll
- Vps_HostingSetup_Update
- Vps_HostingSetup_Delete
- Vps_HostingSetup_GetOptions
- Vps_HostingSetup_Get
- Vps_HostingSetup_Create
- Vps_PowerStatus_ElectricRestart
- Vps_PowerStatus_Pause
- Vps_PowerStatus_Reactivate
- Vps_PowerStatus_Suspend
- Vps_PowerStatus_Unpause
- Vps_PowerStatus_TurnOff
- Vps_PowerStatus_Restart
- Vps_PowerStatus_Get
- Vps_PowerStatus_TurnOn
- Vps_GetSpaceAndTransferReportPerHosting
- Vps_Monitorization_Activate
- Vps_Monitorization_Get
- Vps_Monitorization_Deactivate
- Vps_GetBandwidthConsumption
- Vps_Nfs_Get
- Vps_Control_GetCpuLoadByHosting
- Vps_Control_KillMysqlProcess
- Vps_Control_GetMysqlProcesses
- Vps_Control_GetApacheProcesses
- Vps_Control_GetSystemLoad
- Vps_Control_GetSystemStatus
Lista de erros
-
Tipologia de erros
- SUCCESS: 1000
- SUCCESS_PENDING: 1001
- UNKNOWN_COMMAND: 2000
- COMMAND_SYNTAX_ERROR: 2001
- COMMAND_USE_ERROR: 2002
- PARAM_MISSING: 2003
- PARAM_VALUE_RANGE: 2004
- PARAM_VALUE_SYNTAX: 2005
- DELETED_COMMAND: 2100
- UNIMPLEMENTED_COMMAND: 2101
- BILLING_FAILURE: 2104
- BILLING_NOT_ALLOWED: 2105
- AUTH_ERROR_USER: 2200
- AUTH_ERROR_OBJECT: 2201
- OBJECT_EXISTS: 2302
- OBJECT_NOT_EXISTS: 2303
- OBJECT_STATUS_PROHIBITS_OP: 2304
- OBJECT_ASSOCIATION_PROHIBITS_OP: 2305
- PARAMETER_VALUE_POLICY_ERROR: 2306
- UNIMPLEMENTED_OBJECT_SERVICE: 2307
- COMMAND_FAILED: 2400
- COMMAND_FAILED_FATAL: 2500
- COMMAND_TIMEOUT: 2501
- COMMAND_CONNECTIONSLIMIT: 2502
- COMMAND_MAINTENANCE_MODE: 2503
- COMMAND_PENDING_PREVIOUS_EXECUTION: 3101
- COMMAND_FTP_MAX_ACCOUNTS: 3601
- COMMAND_EMAIL_REDIRECTION_MAX_ACCOUNTS: 3602
- COMMAND_EMAIL_DISTRIBUTIONLIST_MAX: 3603
- COMMAND_SERVER_KVM_GET_ERROR: 3604
- COMMAND_DEDICATED_SERVER_OS_ERROR: 3605
- COMMAND_LICENSE_MAX_HOSTINGS: 3606
- COMMAND_BILLING_PRODUCT_ERROR: 3607
- COMMAND_BILLING_CREDIT: 3608
- COMMAND_EMAIL_MAX_HOSTINGS: 3609
- COMMAND_DOMAIN_FORBIDDEN_CONTACT_UPDATE: 3610
- COMMAND_DDBB_SQLSERVER_NOT_ENOUGH_SPACE: 3612
- COMMAND_EMAIL_DISTRIBUTION_LIST_EXISTS: 3613
- COMMAND_SMS_NOT_REMAINING_MESSAGES: 3614
- COMMAND_MYSQL_MAX_DATABASES: 3615
- COMMAND_DOMAIN_IP_NOT_RESOLVING_DNS: 3616
- COMMAND_EMAIL_NOT_ENABLED: 3617
- COMMAND_REGENERATE_PASSWORD_SEND_METHOD: 3618
- COMMAND_EMAIL_ACCOUNT_SET_REPEATED_PASSWORD: 3619
- COMMAND_BILLING_DOMAIN_FORBIDDEN_PREDEFINED_CONTACTS: 3620
- COMMAND_DOMAIN_TRANSFER_ALREADY_APPROVED: 3630
- COMMAND_DOMAIN_CERT_ALREADY_ASSOCIATED: 3631
- COMMAND_BILLING_PRODUCT_TEMPORARILY_DISABLED: 3621
- COMMAND_NFS_VOLUME_DOES_NOT_EXIST: 3640
- COMMAND_PARAM_IS_NOT_A_VALID_CERTIFICATE: 3641
- COMMAND_DOMAIN_SERVER_ZONE_NOT_FOUND: 3645
- COMMAND_ADD_ZONES_LIMIT: 3646
Carregando comando...
Tipos de petições
A nossa API admite diversos formatos de pedido para poderes escolher o que melhor se adaptar à tua integração. Cada tipo define a forma em que se enviam os dados e as instruções para o servidor.
Jsonrpc
Json Remote Procedure Call request.Special HTTP request that sends JSON encoded arguments and expects a JSON encoded response.Characteristics and requeriments:- Request data sent through HTTP POST query .
- Content-type indicated as "application/json" on HTTP headers.
- User login data must be sent at "Authorization: Basic" on HTTP headers .
- Parameters can be sent in any order. Keys are case sensitive.
- Only used with Jsonrpc response type.
- Simulation mode only available on web server at https://dinahosting.com/api/.
Simple
Simple HTTP REQUEST .Standard HTTP request that sends key=value pairs in a URL encoded request.Characteristics and requeriments:- Request data sent through a standard HTTP GET or POST query .
- User login authentication data might be sent at "Authorization: Basic" on HTTP headers or in request parameters AUTH_USER and AUTH_PWD.
- Parameters can be sent in any order. Keys are case sensitive.
- Can be used with any responseType.
- Can force client-side activation of simulation mode. Just add a boolean parameter SIMULATE=true to the request.
Xmlrpc
Standard Xml Remote Procedure Call request.Special HTTP request that sends XML encoded arguments and expects a XML encoded response.Characteristics and requeriments:- Request data sent through HTTP POST query .
- Content-type indicated as "application/xml" on HTTP headers.
- User login data must be sent at "Authorization: Basic" on HTTP headers .
- Parameters must arrive ordered, as described in method signature.
- Only used with Xmlrpc response type.
- Simulation mode only available on web server at https://dinahosting.com/api/ .
Tipos de resposta
Podes selecionar o formato de resposta que preferires para receberes a informação devolvida pela API. Isto permite-te processar facilmente os resultados na tua aplicação, independentemente da linguagem ou do ambiente.
Xml
Extensible markup language response. Multi-plataform language. Lighter than our XmlRpc. Used with standard (Simple) HTTP requests.Json
JavaScript Object Notation response. Lightweight, multi-plataform, easy parseable response type. Used with standard (Simple) HTTP requests.Test
Testing response. Returns valid PHP code. Harder to parse than Json or XML. Used with standard (Simple) HTTP requests.Jsonrpc
JavaScript Object Notation Remote procedure call response. Same as standard Json . Only for JsonRpc requests.Simple
Simple key value plain text response. Lightest response, but it isn't standard. Parsing may be troublesome if response data is complex. Useful for testing purposes. Used with standard (Simple) HTTP requests.Xmlrpc
Extensible markup language Remote procedure call response. Standard XML response built with Zend XmlRpc server. Easy to parse with Zend XmlRpc client, but heavier communication. Recommended only for XmlRpc requests.Debug
Debuging response. Used with standard (Simple) HTTP requests.Solicitar a utilização da API
Queres usar a nossa API? Só precisas de uma conta ativa na dinahosting e preencher o seguinte formulário para podermos habilitar as tuas credenciais.
INFORMAÇÃO BÁSICA SOBRE PROTECÇÃO DE DADOS
- Responsável
- Dinahosting SL. [+ info]
- Finalidade e legitimação
- Tratamos os dados que nos proporcionas através dos meios de contacto que te facilitamos no nosso site com a finalidade de atender os pedidos que nos envias. Estamos legitimados para tratá-los porque temos interesse legítimo em gerir os pedidos que nos propões. [+ info]
- Pessoas destinatarias
- Não compartilhamos os teus dados com terceiros, salvo por obrigação legal. [+ info]
- Direitos
- Podes opor-te ao tratamento, bem como outros direitos dos que te informamos na informação adicional. [+ info]
- Informação adicional
- Para mais informação, consulta nossa Política de Privacidade.