GET GetTaxPreference?SID={SID}&bCacheRefresh={bCacheRefresh}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SID | integer |
Required |
|
bCacheRefresh | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
ResponseOfTaxPreferenceName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | TaxPreference |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": { "SID": 1, "TaxType": 0, "CreatedById": 1, "CreatedByName": "sample string 2", "CreatedOn": "2025-04-28T17:04:27.0037532+00:00", "UpdatedById": 1, "UpdatedByName": "sample string 3", "UpdatedOn": "2025-04-28T17:04:27.0037532+00:00", "CreatedByPGHUserName": "sample string 4" } }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":{"SID":1,"TaxType":0,"CreatedById":1,"CreatedByName":"sample string 2","CreatedOn":"2025-04-28T17:04:27.0037532+00:00","UpdatedById":1,"UpdatedByName":"sample string 3","UpdatedOn":"2025-04-28T17:04:27.0037532+00:00","CreatedByPGHUserName":"sample string 4"}}
application/xml, text/xml
Sample:
<ResponseOfTaxPreferencehxVPT35K xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings"> <d2p1:CreatedById>1</d2p1:CreatedById> <d2p1:CreatedByName>sample string 2</d2p1:CreatedByName> <d2p1:CreatedByPGHUserName>sample string 4</d2p1:CreatedByPGHUserName> <d2p1:CreatedOn>2025-04-28T17:04:27.0037532+00:00</d2p1:CreatedOn> <d2p1:SID>1</d2p1:SID> <d2p1:TaxType>NotSet</d2p1:TaxType> <d2p1:UpdatedById>1</d2p1:UpdatedById> <d2p1:UpdatedByName>sample string 3</d2p1:UpdatedByName> <d2p1:UpdatedOn>2025-04-28T17:04:27.0037532+00:00</d2p1:UpdatedOn> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfTaxPreferencehxVPT35K>