POST api/admin/macd/SaveChangeLineTypeList
Request Information
URI Parameters
None.
Body Parameters
LineTypeUpdateListDTOName | Description | Type | Additional information |
---|---|---|---|
LocationAccountNumber | string |
None. |
|
ServiceList | Collection of LineTypeServiceUpdate |
None. |
Request Formats
application/json, text/json
Sample:
{ "LocationAccountNumber": "sample string 1", "ServiceList": [ { "AddonPartNumbers": [ "sample string 1", "sample string 2" ], "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, "NewTypeList": null }, "CatalogItemId": "sample string 1", "ListingType": "sample string 2", "ListingName": "sample string 3", "OmitAddress": "sample string 4", "CNAM": "sample string 5", "LineEmail": "sample string 6", "TerminatingNumber": "sample string 7", "LineFirstName": "sample string 8", "LineLastName": "sample string 9", "IdPObjectId": "sample string 10" }, { "AddonPartNumbers": [ "sample string 1", "sample string 2" ], "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, "NewTypeList": null }, "CatalogItemId": "sample string 1", "ListingType": "sample string 2", "ListingName": "sample string 3", "OmitAddress": "sample string 4", "CNAM": "sample string 5", "LineEmail": "sample string 6", "TerminatingNumber": "sample string 7", "LineFirstName": "sample string 8", "LineLastName": "sample string 9", "IdPObjectId": "sample string 10" } ] }
application/xml, text/xml
Sample:
<LineTypeUpdateListDTO 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> <LineTypeServiceUpdate> <AddonPartNumbers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AddonPartNumbers> <CNAM>sample string 5</CNAM> <CatalogItemId>sample string 1</CatalogItemId> <IdPObjectId>sample string 10</IdPObjectId> <LineEmail>sample string 6</LineEmail> <LineFirstName>sample string 8</LineFirstName> <LineLastName>sample string 9</LineLastName> <ListingName>sample string 3</ListingName> <ListingType>sample string 2</ListingType> <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> <NewTypeList xmlns:d5p1="http://schemas.datacontract.org/2004/07/MSPApi.Code.BulkOrder" i:nil="true" /> <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> <OmitAddress>sample string 4</OmitAddress> <TerminatingNumber>sample string 7</TerminatingNumber> </LineTypeServiceUpdate> <LineTypeServiceUpdate> <AddonPartNumbers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AddonPartNumbers> <CNAM>sample string 5</CNAM> <CatalogItemId>sample string 1</CatalogItemId> <IdPObjectId>sample string 10</IdPObjectId> <LineEmail>sample string 6</LineEmail> <LineFirstName>sample string 8</LineFirstName> <LineLastName>sample string 9</LineLastName> <ListingName>sample string 3</ListingName> <ListingType>sample string 2</ListingType> <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> <NewTypeList xmlns:d5p1="http://schemas.datacontract.org/2004/07/MSPApi.Code.BulkOrder" i:nil="true" /> <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> <OmitAddress>sample string 4</OmitAddress> <TerminatingNumber>sample string 7</TerminatingNumber> </LineTypeServiceUpdate> </ServiceList> </LineTypeUpdateListDTO>
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. |