POST api/admin/macd/SaveChangeSeatTypeList

Request Information

URI Parameters

None.

Body Parameters

SeatTypeUpdateListDTO
NameDescriptionTypeAdditional information
LocationAccountNumber

string

None.

ServiceList

Collection of SeatTypeServiceUpdate

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,
        "NewSeatList": null
      },
      "NewCatalogItemId": "sample string 1",
      "Address": {
        "IsActive": true,
        "StreetNumber": "sample string 2",
        "DirectionPrefix": "sample string 3",
        "StreetName": "sample string 4",
        "StreetType": "sample string 5",
        "DirectionSuffix": "sample string 6",
        "Street1": "sample string 7",
        "Street2": "sample string 8",
        "UnitType": "sample string 9",
        "UnitNum": "sample string 10",
        "StructureType": "sample string 11",
        "StructureNum": "sample string 12",
        "ElevationType": "sample string 13",
        "ElevationNum": "sample string 14",
        "City": "sample string 15",
        "State": "sample string 16",
        "ZipCode": "sample string 17",
        "County": "sample string 18",
        "PhoneNumber": "sample string 19",
        "EmulatorUsername": "sample string 20"
      },
      "E911AddressId": 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,
        "NewSeatList": null
      },
      "NewCatalogItemId": "sample string 1",
      "Address": {
        "IsActive": true,
        "StreetNumber": "sample string 2",
        "DirectionPrefix": "sample string 3",
        "StreetName": "sample string 4",
        "StreetType": "sample string 5",
        "DirectionSuffix": "sample string 6",
        "Street1": "sample string 7",
        "Street2": "sample string 8",
        "UnitType": "sample string 9",
        "UnitNum": "sample string 10",
        "StructureType": "sample string 11",
        "StructureNum": "sample string 12",
        "ElevationType": "sample string 13",
        "ElevationNum": "sample string 14",
        "City": "sample string 15",
        "State": "sample string 16",
        "ZipCode": "sample string 17",
        "County": "sample string 18",
        "PhoneNumber": "sample string 19",
        "EmulatorUsername": "sample string 20"
      },
      "E911AddressId": 2
    }
  ]
}

application/xml, text/xml

Sample:
<SeatTypeUpdateListDTO 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>
    <SeatTypeServiceUpdate>
      <Address xmlns:d4p1="http://schemas.datacontract.org/2004/07/MSPApi.DTO">
        <d4p1:City>sample string 15</d4p1:City>
        <d4p1:County>sample string 18</d4p1:County>
        <d4p1:DirectionPrefix>sample string 3</d4p1:DirectionPrefix>
        <d4p1:DirectionSuffix>sample string 6</d4p1:DirectionSuffix>
        <d4p1:ElevationNum>sample string 14</d4p1:ElevationNum>
        <d4p1:ElevationType>sample string 13</d4p1:ElevationType>
        <d4p1:EmulatorUsername>sample string 20</d4p1:EmulatorUsername>
        <d4p1:IsActive>true</d4p1:IsActive>
        <d4p1:PhoneNumber>sample string 19</d4p1:PhoneNumber>
        <d4p1:State>sample string 16</d4p1:State>
        <d4p1:Street1>sample string 7</d4p1:Street1>
        <d4p1:Street2>sample string 8</d4p1:Street2>
        <d4p1:StreetName>sample string 4</d4p1:StreetName>
        <d4p1:StreetNumber>sample string 2</d4p1:StreetNumber>
        <d4p1:StreetType>sample string 5</d4p1:StreetType>
        <d4p1:StructureNum>sample string 12</d4p1:StructureNum>
        <d4p1:StructureType>sample string 11</d4p1:StructureType>
        <d4p1:UnitNum>sample string 10</d4p1:UnitNum>
        <d4p1:UnitType>sample string 9</d4p1:UnitType>
        <d4p1:ZipCode>sample string 17</d4p1:ZipCode>
      </Address>
      <E911AddressId>2</E911AddressId>
      <NewCatalogItemId>sample string 1</NewCatalogItemId>
      <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>
        <NewSeatList 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>
    </SeatTypeServiceUpdate>
    <SeatTypeServiceUpdate>
      <Address xmlns:d4p1="http://schemas.datacontract.org/2004/07/MSPApi.DTO">
        <d4p1:City>sample string 15</d4p1:City>
        <d4p1:County>sample string 18</d4p1:County>
        <d4p1:DirectionPrefix>sample string 3</d4p1:DirectionPrefix>
        <d4p1:DirectionSuffix>sample string 6</d4p1:DirectionSuffix>
        <d4p1:ElevationNum>sample string 14</d4p1:ElevationNum>
        <d4p1:ElevationType>sample string 13</d4p1:ElevationType>
        <d4p1:EmulatorUsername>sample string 20</d4p1:EmulatorUsername>
        <d4p1:IsActive>true</d4p1:IsActive>
        <d4p1:PhoneNumber>sample string 19</d4p1:PhoneNumber>
        <d4p1:State>sample string 16</d4p1:State>
        <d4p1:Street1>sample string 7</d4p1:Street1>
        <d4p1:Street2>sample string 8</d4p1:Street2>
        <d4p1:StreetName>sample string 4</d4p1:StreetName>
        <d4p1:StreetNumber>sample string 2</d4p1:StreetNumber>
        <d4p1:StreetType>sample string 5</d4p1:StreetType>
        <d4p1:StructureNum>sample string 12</d4p1:StructureNum>
        <d4p1:StructureType>sample string 11</d4p1:StructureType>
        <d4p1:UnitNum>sample string 10</d4p1:UnitNum>
        <d4p1:UnitType>sample string 9</d4p1:UnitType>
        <d4p1:ZipCode>sample string 17</d4p1:ZipCode>
      </Address>
      <E911AddressId>2</E911AddressId>
      <NewCatalogItemId>sample string 1</NewCatalogItemId>
      <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>
        <NewSeatList 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>
    </SeatTypeServiceUpdate>
  </ServiceList>
</SeatTypeUpdateListDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.