POST UpdateShopCreditLimit/{userid}/{month}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userid | integer |
Required |
|
month | integer |
Required |
Body Parameters
ShopLimitCreditModelsName | Description | Type | Additional information |
---|---|---|---|
PGHSubscriptionMonthlyLimitID | integer |
None. |
|
SID | integer |
None. |
|
Month | integer |
None. |
|
Year | integer |
None. |
|
TotalShopLimit | integer |
None. |
|
ConsumedShopLimit | integer |
None. |
|
OverLimitReportAllowed | boolean |
None. |
|
ChangeLimit | integer |
None. |
|
ConsumedChangeLimit | integer |
None. |
|
UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PGHSubscriptionMonthlyLimitID": 1, "SID": 2, "Month": 3, "Year": 4, "TotalShopLimit": 5, "ConsumedShopLimit": 6, "OverLimitReportAllowed": true, "ChangeLimit": 8, "ConsumedChangeLimit": 9, "UserID": 10 }
text/html
Sample:
{"PGHSubscriptionMonthlyLimitID":1,"SID":2,"Month":3,"Year":4,"TotalShopLimit":5,"ConsumedShopLimit":6,"OverLimitReportAllowed":true,"ChangeLimit":8,"ConsumedChangeLimit":9,"UserID":10}
application/xml, text/xml
Sample:
<ShopLimitCreditModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings"> <ChangeLimit>8</ChangeLimit> <ConsumedChangeLimit>9</ConsumedChangeLimit> <ConsumedShopLimit>6</ConsumedShopLimit> <Month>3</Month> <OverLimitReportAllowed>true</OverLimitReportAllowed> <PGHSubscriptionMonthlyLimitID>1</PGHSubscriptionMonthlyLimitID> <SID>2</SID> <TotalShopLimit>5</TotalShopLimit> <UserID>10</UserID> <Year>4</Year> </ShopLimitCreditModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": true }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":true}
application/xml, text/xml
Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body>true</Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfboolean>