Table of Contents

Class PortalWS

Namespace
PHCWS
Assembly
PHCWS.dll

Serviços de gestão da entidade DashboardVO.

[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class PortalWS : PHCTypedWS<PortalVO>, IComponent, IDisposable, IServiceProvider
Inheritance
PortalWS

Methods

AuthorizeByHash(string)

[WebMethod]
public PHCResult AuthorizeByHash(string hash)

Parameters

Nome Tipo Descrição
hash string

Returns

PHCResult

AuthorizeEntityByHash(string, string)

[WebMethod]
public PHCResult AuthorizeEntityByHash(string authEntityName, string hash)

Parameters

Nome Tipo Descrição
authEntityName string
hash string

Returns

PHCResult

CreatePaymentOnEasyPayForCCs(string, List<string>, EasypayCustomer)

Create checkout popup for easypay for several CC's

[WebMethod]
public PHCResult CreatePaymentOnEasyPayForCCs(string hash, List<string> ftStampList, EasypayCustomer easypayCustomer)

Parameters

Nome Tipo Descrição
hash string

Hash from portal to connect with our Data base

ftStampList List<string>

ft stamp list to create the payment

easypayCustomer EasypayCustomer

Customer information(phone,email,..)

Returns

PHCResult

CreatePaymentOnEasyPayForFT(string, string, EasypayCustomer)

Create checkout popup for easypay for one FT

[WebMethod]
public PHCResult CreatePaymentOnEasyPayForFT(string hash, string recordStamp, EasypayCustomer easypayCustomer)

Parameters

Nome Tipo Descrição
hash string

Hash from portal to connect with our Data base

recordStamp string

Document stamp

easypayCustomer EasypayCustomer

Customer information(phone,email,..)

Returns

PHCResult

CreatePaymentOnProxyPayForCCs(string, List<string>, ProxyPayCustomerPortalData)

Create checkout popup for proxypay for several CC's

[WebMethod]
public PHCResult CreatePaymentOnProxyPayForCCs(string hash, List<string> ftStampList, ProxyPayCustomerPortalData proxypayCustomer)

Parameters

Nome Tipo Descrição
hash string

Hash from portal to connect with our Data base

ftStampList List<string>

ft stamp list to create the payment

proxypayCustomer ProxyPayCustomerPortalData

Customer information(name,email,..)

Returns

PHCResult

CreatePaymentOnProxyPayForFT(string, string)

Create reference with proxypay for one FT

[WebMethod]
public PHCResult CreatePaymentOnProxyPayForFT(string hash, string recordStamp)

Parameters

Nome Tipo Descrição
hash string

Hash from portal to connect with our Data base

recordStamp string

Document stamp

Returns

PHCResult

CreateReFromEasypayCheckout(string, string, EasyPayCheckout)

Create checkout popup for easypay

[WebMethod]
public PHCResult CreateReFromEasypayCheckout(string hash, string recordStamp, EasyPayCheckout easyPayCheckout)

Parameters

Nome Tipo Descrição
hash string

Hash from portal to connect with our Data base

recordStamp string

Document stamp

easyPayCheckout EasyPayCheckout

Customer information(phone,email,..)

Returns

PHCResult

CreateReFromEasypayCheckoutForSeveralFTs(string, List<string>, EasyPayCheckout)

Create checkout popup for easypay

[WebMethod]
public PHCResult CreateReFromEasypayCheckoutForSeveralFTs(string hash, List<string> ftStampList, EasyPayCheckout easyPayCheckout)

Parameters

Nome Tipo Descrição
hash string

Hash from portal to connect with our Data base

ftStampList List<string>

Document stamp

easyPayCheckout EasyPayCheckout

Customer information(phone,email,..)

Returns

PHCResult

CreateReFromProxyPayForCCs(string, List<string>)

Create checkout popup for easypay

[WebMethod]
public PHCResult CreateReFromProxyPayForCCs(string hash, List<string> ftStampList)

Parameters

Nome Tipo Descrição
hash string

Hash from portal to connect with our Data base

ftStampList List<string>

Document stamp list

Returns

PHCResult

CreateReFromProxyPayForFt(string, string)

Check payment and issues a receipt, if applicable.

[WebMethod]
public PHCResult CreateReFromProxyPayForFt(string hash, string recordStamp)

Parameters

Nome Tipo Descrição
hash string

Hash from portal to connect with our Data base

recordStamp string

Document stamp

Returns

PHCResult

CreateRecordFromReference(string, string, string)

public PHCResult CreateRecordFromReference(string stamp, string sourceEntity, string targetEntity)

Parameters

Nome Tipo Descrição
stamp string
sourceEntity string
targetEntity string

Returns

PHCResult

GetAccountsReceivableDebtsByCL(string)

Get CC information for specific CL

[WebMethod]
public PHCResult GetAccountsReceivableDebtsByCL(string hash)

Parameters

Nome Tipo Descrição
hash string

Returns

PHCResult

GetAccountsReceivableInfo(string, string)

Get CC information

[WebMethod]
public PHCResult GetAccountsReceivableInfo(string hash, string ccStamp)

Parameters

Nome Tipo Descrição
hash string

portal hash

ccStamp string

CcVo stamp to get

Returns

PHCResult

GetCompanyInfo()

Get Company information

[WebMethod]
public PHCResult GetCompanyInfo()

Returns

PHCResult

GetCustomerDossier(string, string)

Get Customer's Dossier Document

[WebMethod]
public PHCResult GetCustomerDossier(string hash, string bostamp)

Parameters

Nome Tipo Descrição
hash string
bostamp string

Returns

PHCResult

GetCustomerInfo(string)

Get Customer information

[WebMethod]
public PHCResult GetCustomerInfo(string hash)

Parameters

Nome Tipo Descrição
hash string

Returns

PHCResult

GetCustomerInvoice(string, string)

Get Customer's Invoice Document

[WebMethod]
public PHCResult GetCustomerInvoice(string hash, string ftstamp)

Parameters

Nome Tipo Descrição
hash string
ftstamp string

Returns

PHCResult

GetCustomerInvoices(string)

Get Customer's Invoice Documents

[WebMethod]
public PHCResult GetCustomerInvoices(string hash)

Parameters

Nome Tipo Descrição
hash string

Returns

PHCResult

GetCustomerReceipt(string, string)

Get Customer's Receipt Document

[WebMethod]
public PHCResult GetCustomerReceipt(string hash, string restamp)

Parameters

Nome Tipo Descrição
hash string
restamp string

Returns

PHCResult

GetDocumentComments(string, string, string)

[WebMethod]
public PHCResult GetDocumentComments(string hash, string stamp, string entityname)

Parameters

Nome Tipo Descrição
hash string
stamp string
entityname string

Returns

PHCResult

GetDocumentFile(string, string, string)

Get Customer's Invoice Document PDF

[WebMethod]
public PHCResult GetDocumentFile(string hash, string entityName, string stamp)

Parameters

Nome Tipo Descrição
hash string
entityName string
stamp string

Returns

PHCResult

GetEasyPayUrlApiForPortal(string)

Get easypay url checkout in parameters for portal

[WebMethod]
public PHCResult GetEasyPayUrlApiForPortal(string hash)

Parameters

Nome Tipo Descrição
hash string

Returns

PHCResult

GetNewCommentFromPortal(string)

[WebMethod]
public PHCResult GetNewCommentFromPortal(string hash)

Parameters

Nome Tipo Descrição
hash string

Returns

PHCResult

GetSupplierInfo(string)

Get Supplier information

[WebMethod]
public PHCResult GetSupplierInfo(string hash)

Parameters

Nome Tipo Descrição
hash string

Returns

PHCResult

GetSupplierPayment(string, string)

Get Customer's Receipt Document

[WebMethod]
public PHCResult GetSupplierPayment(string hash, string postamp)

Parameters

Nome Tipo Descrição
hash string
postamp string

Returns

PHCResult

LoadPortalConfig(string, bool)

[WebMethod]
public PHCResult LoadPortalConfig(string entityName, bool isStudioPortal)

Parameters

Nome Tipo Descrição
entityName string
isStudioPortal bool

Returns

PHCResult

NavigateToRecord(string, string, string)

public PHCResult NavigateToRecord(string stamp, string sourceEntity, string targetEntity)

Parameters

Nome Tipo Descrição
stamp string
sourceEntity string
targetEntity string

Returns

PHCResult

PrintCustomerDocument(string, string, string)

Print a file document

[WebMethod]
public PHCResult PrintCustomerDocument(string hash, string recordStamp, string entityName)

Parameters

Nome Tipo Descrição
hash string
recordStamp string
entityName string

Returns

PHCResult

QueryAsEntitiesList(QueryVO, string, string, string)

[WebMethod]
public PHCResult QueryAsEntitiesList(QueryVO itemQuery, string authEntity, string userEntity, string hash)

Parameters

Nome Tipo Descrição
itemQuery QueryVO
authEntity string
userEntity string
hash string

Returns

PHCResult

QueryListCount(QueryVO, string, string, string)

[WebMethod]
public PHCResult QueryListCount(QueryVO itemQuery, string authEntity, string userEntity, string hash)

Parameters

Nome Tipo Descrição
itemQuery QueryVO
authEntity string
userEntity string
hash string

Returns

PHCResult

RemoveComment(string, CommentVO)

[WebMethod]
public PHCResult RemoveComment(string hash, CommentVO itemVO)

Parameters

Nome Tipo Descrição
hash string
itemVO CommentVO

Returns

PHCResult

SaveComment(string, CommentVO)

[WebMethod]
public PHCResult SaveComment(string hash, CommentVO itemVO)

Parameters

Nome Tipo Descrição
hash string
itemVO CommentVO

Returns

PHCResult

ValidateRecaptcha(string)

Validate Google Recaptcha is valid in External Google API

[WebMethod]
public PHCResult ValidateRecaptcha(string token)

Parameters

Nome Tipo Descrição
token string

Returns

PHCResult