POST api/admin/macd/SaveChangeExtensionList
Request Information
URI Parameters
None.
Body Parameters
ExtensionUpdateListDTOName | Description | Type | Additional information |
---|---|---|---|
LocationAccountNumber | string |
None. |
|
ServiceList | Collection of ExtensionServiceUpdate |
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, "LineItemTypeId": 12, "ListingType": "sample string 13", "ListingName": "sample string 14", "OmitAddress": "sample string 15", "YPH": "None", "CNAM": "sample string 16", "LineEmail": "sample string 17", "TerminatingNumber": "sample string 18", "CustomerProductId": 19, "EditCNAM": true, "EditOmitAddress": true, "EditListingType": true, "EditTerminatingNumber": true, "EditLineEmail": true, "EditExtension": true, "ExtensionRequired": true }, "Extension": "sample string 1" }, { "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, "LineItemTypeId": 12, "ListingType": "sample string 13", "ListingName": "sample string 14", "OmitAddress": "sample string 15", "YPH": "None", "CNAM": "sample string 16", "LineEmail": "sample string 17", "TerminatingNumber": "sample string 18", "CustomerProductId": 19, "EditCNAM": true, "EditOmitAddress": true, "EditListingType": true, "EditTerminatingNumber": true, "EditLineEmail": true, "EditExtension": true, "ExtensionRequired": true }, "Extension": "sample string 1" } ] }
application/xml, text/xml
Sample:
<ExtensionUpdateListDTO 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> <ExtensionServiceUpdate> <Extension>sample string 1</Extension> <OldService> <AddonCount>1</AddonCount> <CNAM>sample string 16</CNAM> <CatalogItemId>sample string 8</CatalogItemId> <CustomerProductId>19</CustomerProductId> <EditCNAM>true</EditCNAM> <EditExtension>true</EditExtension> <EditLineEmail>true</EditLineEmail> <EditListingType>true</EditListingType> <EditOmitAddress>true</EditOmitAddress> <EditTerminatingNumber>true</EditTerminatingNumber> <Extension>sample string 2</Extension> <ExtensionRequired>true</ExtensionRequired> <IsExtensionOnly>3</IsExtensionOnly> <LineEmail>sample string 17</LineEmail> <LineFirstName>sample string 6</LineFirstName> <LineItemTypeId>12</LineItemTypeId> <LineLastName>sample string 7</LineLastName> <LineName>sample string 5</LineName> <LineTypeTicker>sample string 4</LineTypeTicker> <ListingName>sample string 14</ListingName> <ListingType>sample string 13</ListingType> <OmitAddress>sample string 15</OmitAddress> <PartDescription>sample string 10</PartDescription> <PartNum>sample string 9</PartNum> <ServiceNumber>sample string 1</ServiceNumber> <TerminatingNumber>sample string 18</TerminatingNumber> <UserPackageId>11</UserPackageId> </OldService> </ExtensionServiceUpdate> <ExtensionServiceUpdate> <Extension>sample string 1</Extension> <OldService> <AddonCount>1</AddonCount> <CNAM>sample string 16</CNAM> <CatalogItemId>sample string 8</CatalogItemId> <CustomerProductId>19</CustomerProductId> <EditCNAM>true</EditCNAM> <EditExtension>true</EditExtension> <EditLineEmail>true</EditLineEmail> <EditListingType>true</EditListingType> <EditOmitAddress>true</EditOmitAddress> <EditTerminatingNumber>true</EditTerminatingNumber> <Extension>sample string 2</Extension> <ExtensionRequired>true</ExtensionRequired> <IsExtensionOnly>3</IsExtensionOnly> <LineEmail>sample string 17</LineEmail> <LineFirstName>sample string 6</LineFirstName> <LineItemTypeId>12</LineItemTypeId> <LineLastName>sample string 7</LineLastName> <LineName>sample string 5</LineName> <LineTypeTicker>sample string 4</LineTypeTicker> <ListingName>sample string 14</ListingName> <ListingType>sample string 13</ListingType> <OmitAddress>sample string 15</OmitAddress> <PartDescription>sample string 10</PartDescription> <PartNum>sample string 9</PartNum> <ServiceNumber>sample string 1</ServiceNumber> <TerminatingNumber>sample string 18</TerminatingNumber> <UserPackageId>11</UserPackageId> </OldService> </ExtensionServiceUpdate> </ServiceList> </ExtensionUpdateListDTO>
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. |