POST api/admin/macd/SaveChangeBlockList
Request Information
URI Parameters
None.
Body Parameters
BlockUpdateListDTOName | Description | Type | Additional information |
---|---|---|---|
LocationAccountNumber | string |
None. |
|
ServiceList | Collection of BlockServiceUpdate |
None. |
Request Formats
application/json, text/json
Sample:
{ "LocationAccountNumber": "sample string 1", "ServiceList": [ { "OldService": { "ServiceNumber": "sample string 1", "Extension": "sample string 2", "IsExtensionOnly": 3, "LineTypeTicker": "sample string 4", "LineName": "sample string 5", "LineFirstName": "sample string 6", "LineLastName": "sample string 7", "AddonCount": 1, "CatalogItemId": "sample string 8", "PartNum": "sample string 9", "PartDescription": "sample string 10", "UserPackageId": 11, "CustomerProductId": 12, "Block": "sample string 13", "BlockCallDirectoryAssistance": true, "BlockOperatorAssistance": true, "BlockInternationalCalling": true, "BlockDomesticLongDistance": true }, "BlockCallDirectoryAssistance": true, "BlockOperatorAssistance": true, "BlockInternationalCalling": true, "BlockDomesticLongDistance": true }, { "OldService": { "ServiceNumber": "sample string 1", "Extension": "sample string 2", "IsExtensionOnly": 3, "LineTypeTicker": "sample string 4", "LineName": "sample string 5", "LineFirstName": "sample string 6", "LineLastName": "sample string 7", "AddonCount": 1, "CatalogItemId": "sample string 8", "PartNum": "sample string 9", "PartDescription": "sample string 10", "UserPackageId": 11, "CustomerProductId": 12, "Block": "sample string 13", "BlockCallDirectoryAssistance": true, "BlockOperatorAssistance": true, "BlockInternationalCalling": true, "BlockDomesticLongDistance": true }, "BlockCallDirectoryAssistance": true, "BlockOperatorAssistance": true, "BlockInternationalCalling": true, "BlockDomesticLongDistance": true } ] }
application/xml, text/xml
Sample:
<BlockUpdateListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.BulkOrder"> <LocationAccountNumber>sample string 1</LocationAccountNumber> <ServiceList> <BlockServiceUpdate> <BlockCallDirectoryAssistance>true</BlockCallDirectoryAssistance> <BlockDomesticLongDistance>true</BlockDomesticLongDistance> <BlockInternationalCalling>true</BlockInternationalCalling> <BlockOperatorAssistance>true</BlockOperatorAssistance> <OldService> <AddonCount>1</AddonCount> <Block>sample string 13</Block> <BlockCallDirectoryAssistance>true</BlockCallDirectoryAssistance> <BlockDomesticLongDistance>true</BlockDomesticLongDistance> <BlockInternationalCalling>true</BlockInternationalCalling> <BlockOperatorAssistance>true</BlockOperatorAssistance> <CatalogItemId>sample string 8</CatalogItemId> <CustomerProductId>12</CustomerProductId> <Extension>sample string 2</Extension> <IsExtensionOnly>3</IsExtensionOnly> <LineFirstName>sample string 6</LineFirstName> <LineLastName>sample string 7</LineLastName> <LineName>sample string 5</LineName> <LineTypeTicker>sample string 4</LineTypeTicker> <PartDescription>sample string 10</PartDescription> <PartNum>sample string 9</PartNum> <ServiceNumber>sample string 1</ServiceNumber> <UserPackageId>11</UserPackageId> </OldService> </BlockServiceUpdate> <BlockServiceUpdate> <BlockCallDirectoryAssistance>true</BlockCallDirectoryAssistance> <BlockDomesticLongDistance>true</BlockDomesticLongDistance> <BlockInternationalCalling>true</BlockInternationalCalling> <BlockOperatorAssistance>true</BlockOperatorAssistance> <OldService> <AddonCount>1</AddonCount> <Block>sample string 13</Block> <BlockCallDirectoryAssistance>true</BlockCallDirectoryAssistance> <BlockDomesticLongDistance>true</BlockDomesticLongDistance> <BlockInternationalCalling>true</BlockInternationalCalling> <BlockOperatorAssistance>true</BlockOperatorAssistance> <CatalogItemId>sample string 8</CatalogItemId> <CustomerProductId>12</CustomerProductId> <Extension>sample string 2</Extension> <IsExtensionOnly>3</IsExtensionOnly> <LineFirstName>sample string 6</LineFirstName> <LineLastName>sample string 7</LineLastName> <LineName>sample string 5</LineName> <LineTypeTicker>sample string 4</LineTypeTicker> <PartDescription>sample string 10</PartDescription> <PartNum>sample string 9</PartNum> <ServiceNumber>sample string 1</ServiceNumber> <UserPackageId>11</UserPackageId> </OldService> </BlockServiceUpdate> </ServiceList> </BlockUpdateListDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |