POST v1/core/Accounts/{accId}/networkdeprofile

creates network quotas default for the account

Request Information

Parameters

NameDescriptionAdditional information
accId
the account id

Define this parameter in the request URI.

item
the DE profile object

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "NetworkID": 1,
  "SBPathEnable": true,
  "Passthru": "sample string 3"
}

text/javascript

Sample:
{"NetworkID":1,"SBPathEnable":true,"Passthru":"sample string 3"}

application/xml, text/xml

Sample:
<NetworkDEProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <NetworkID>1</NetworkID>
  <Passthru>sample string 3</Passthru>
  <SBPathEnable>true</SBPathEnable>
</NetworkDEProfile>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NetworkDEProfile'.

application/bson

Sample:
ANetworkIDSBPathEnablePassthrusample string 3

Response Information

the DE profile object

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "NetworkID": 1,
    "SBPathEnable": true,
    "Passthru": "sample string 3"
  },
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":{"NetworkID":1,"SBPathEnable":true,"Passthru":"sample string 3"},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfNetworkDEProfileCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <NetworkID>1</NetworkID>
    <Passthru>sample string 3</Passthru>
    <SBPathEnable>true</SBPathEnable>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfNetworkDEProfileCA1DLPoZ>

application/bson

Sample:
�SuccessDataANetworkIDSBPathEnablePassthrusample string 3ErrorCodeErrorDescriptionsample string 3Metasample string 4