PUT api/v1/NetworksMaster/{id}
Update a Network Master
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
networkMasterPostDTO |
Define this parameter in the request body. |
|
id |
Define this parameter in the request URI. |
Request body formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "NetworkCode": "sample string 1", "NetworkName": "sample string 2", "IsDefault": true, "FinancialProtection": { "Code": "sample string 1", "Name": "sample string 2" } }
application/xml, text/xml
Sample:
<NetworkMasterSaveDTO> <NetworkCode>sample string 1</NetworkCode> <NetworkName>sample string 2</NetworkName> <IsDefault>true</IsDefault> <FinancialProtection> <Code>sample string 1</Code> <Name>sample string 2</Name> </FinancialProtection> </NetworkMasterSaveDTO>
Response Information
Response body formats
application/json, text/json
Sample:
{ "NetworkID": 1, "OrderNO": 64, "NetworkCode": "sample string 3", "NetworkName": "sample string 4", "IsDefault": true, "FinancialProtection": { "Code": "sample string 1", "Name": "sample string 2" } }
application/xml, text/xml
Sample:
<NetworkMasterDTO> <NetworkCode>sample string 3</NetworkCode> <NetworkName>sample string 4</NetworkName> <IsDefault>true</IsDefault> <FinancialProtection> <Code>sample string 1</Code> <Name>sample string 2</Name> </FinancialProtection> <NetworkID>1</NetworkID> <OrderNO>64</OrderNO> </NetworkMasterDTO>