POST SetTaxPreference
Request Information
URI Parameters
None.
Body Parameters
TaxPreferenceName | Description | Type | Additional information |
---|---|---|---|
SID | integer |
None. |
|
TaxType | PreferenceValue |
None. |
|
CreatedById | integer |
None. |
|
CreatedByName | string |
None. |
|
CreatedOn | date |
None. |
|
UpdatedById | integer |
None. |
|
UpdatedByName | string |
None. |
|
UpdatedOn | date |
None. |
|
CreatedByPGHUserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SID": 1, "TaxType": 0, "CreatedById": 1, "CreatedByName": "sample string 2", "CreatedOn": "2025-04-28T16:20:55.9487883+00:00", "UpdatedById": 1, "UpdatedByName": "sample string 3", "UpdatedOn": "2025-04-28T16:20:55.9487883+00:00", "CreatedByPGHUserName": "sample string 4" }
text/html
Sample:
{"SID":1,"TaxType":0,"CreatedById":1,"CreatedByName":"sample string 2","CreatedOn":"2025-04-28T16:20:55.9487883+00:00","UpdatedById":1,"UpdatedByName":"sample string 3","UpdatedOn":"2025-04-28T16:20:55.9487883+00:00","CreatedByPGHUserName":"sample string 4"}
application/xml, text/xml
Sample:
<TaxPreference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings"> <CreatedById>1</CreatedById> <CreatedByName>sample string 2</CreatedByName> <CreatedByPGHUserName>sample string 4</CreatedByPGHUserName> <CreatedOn>2025-04-28T16:20:55.9487883+00:00</CreatedOn> <SID>1</SID> <TaxType>NotSet</TaxType> <UpdatedById>1</UpdatedById> <UpdatedByName>sample string 3</UpdatedByName> <UpdatedOn>2025-04-28T16:20:55.9487883+00:00</UpdatedOn> </TaxPreference>
application/x-www-form-urlencoded
Sample:
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-28T16:20:55.9487883+00:00", "UpdatedById": 1, "UpdatedByName": "sample string 3", "UpdatedOn": "2025-04-28T16:20:55.9487883+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-28T16:20:55.9487883+00:00","UpdatedById":1,"UpdatedByName":"sample string 3","UpdatedOn":"2025-04-28T16:20:55.9487883+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-28T16:20:55.9487883+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-28T16:20:55.9487883+00:00</d2p1:UpdatedOn> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfTaxPreferencehxVPT35K>