PROTEL PORTAL PLUS
Online documentation
Sample Message for GetInvoices Method
Request
RequestURL: http://portalplus.protel.com.tr/PortalPlus/api/GetInvoices
Method: POST
JSON Sample:
Headers:
Accept: application/json Content-Type: application/json; charset=utf-8
Body Content:
{ "RunAtSource":false, "SourceIntId":151, "Condition":{ "Column":"DocType", "ConditionOperator":1, "Values":[ [0] ], "DataType":1 }, "PagingOption":{ "PageNumber":1, "PageSize":20 }, "AuthData":{ "Uid":"divan", "Pwd":"1234" } }
XML Sample:
Headers:
Accept: application/xml Content-Type: application/xml; charset=utf-8
Body Content:
<GetInvoicesRequest> <AuthData> <Pwd>password</Pwd> <Uid>username</Uid> </AuthData> <RunAtSource>false</RunAtSource> <SourceIntId>151</SourceIntId> <PagingOption> <PageNumber>1</PageNumber> <PageSize>20</PageSize> </PagingOption> <Condition> <Column>DocType</Column> <ConditionOperator>Equal</ConditionOperator> <Values> <anyType>1</anyType> </Values> <DataType>Int</DataType> </Condition> </GetInvoicesRequest>