POST api/admin/macd/SaveChangeVNTermNumberList

Request Information

URI Parameters

None.

Body Parameters

VNUpdateListDTO
NameDescriptionTypeAdditional information
LocationAccountNumber

string

None.

ServiceList

Collection of VNServiceUpdate

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationAccountNumber": "sample string 1",
  "ServiceList": [
    {
      "OldService": {
        "ServiceNumber": "sample string 1",
        "Extension": "sample string 2",
        "IsExtensionOnly": 3,
        "PartNumber": "sample string 4",
        "PartDescription": "sample string 5",
        "CustomerProductId": 6,
        "CatalogTicker": "sample string 7",
        "LineName": "sample string 8",
        "AddonServiceNumber": "sample string 9",
        "AddonExtension": "sample string 10",
        "AddonPartNumber": "sample string 11",
        "AddonPartDescription": "sample string 12",
        "AddonCustomerProductId": 13,
        "AddonCatalogTicker": "sample string 14",
        "AddonUserPackageId": 15,
        "EditTermNumber": true
      },
      "NewTermNumber": {
        "CustomerProductId": 1,
        "ServiceNumber": "sample string 2"
      }
    },
    {
      "OldService": {
        "ServiceNumber": "sample string 1",
        "Extension": "sample string 2",
        "IsExtensionOnly": 3,
        "PartNumber": "sample string 4",
        "PartDescription": "sample string 5",
        "CustomerProductId": 6,
        "CatalogTicker": "sample string 7",
        "LineName": "sample string 8",
        "AddonServiceNumber": "sample string 9",
        "AddonExtension": "sample string 10",
        "AddonPartNumber": "sample string 11",
        "AddonPartDescription": "sample string 12",
        "AddonCustomerProductId": 13,
        "AddonCatalogTicker": "sample string 14",
        "AddonUserPackageId": 15,
        "EditTermNumber": true
      },
      "NewTermNumber": {
        "CustomerProductId": 1,
        "ServiceNumber": "sample string 2"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<VNUpdateListDTO 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>
    <VNServiceUpdate>
      <NewTermNumber xmlns:d4p1="http://schemas.datacontract.org/2004/07/MSPApi.Models">
        <d4p1:CustomerProductId>1</d4p1:CustomerProductId>
        <d4p1:ServiceNumber>sample string 2</d4p1:ServiceNumber>
      </NewTermNumber>
      <OldService>
        <AddonCatalogTicker>sample string 14</AddonCatalogTicker>
        <AddonCustomerProductId>13</AddonCustomerProductId>
        <AddonExtension>sample string 10</AddonExtension>
        <AddonPartDescription>sample string 12</AddonPartDescription>
        <AddonPartNumber>sample string 11</AddonPartNumber>
        <AddonServiceNumber>sample string 9</AddonServiceNumber>
        <AddonUserPackageId>15</AddonUserPackageId>
        <CatalogTicker>sample string 7</CatalogTicker>
        <CustomerProductId>6</CustomerProductId>
        <EditTermNumber>true</EditTermNumber>
        <Extension>sample string 2</Extension>
        <IsExtensionOnly>3</IsExtensionOnly>
        <LineName>sample string 8</LineName>
        <PartDescription>sample string 5</PartDescription>
        <PartNumber>sample string 4</PartNumber>
        <ServiceNumber>sample string 1</ServiceNumber>
      </OldService>
    </VNServiceUpdate>
    <VNServiceUpdate>
      <NewTermNumber xmlns:d4p1="http://schemas.datacontract.org/2004/07/MSPApi.Models">
        <d4p1:CustomerProductId>1</d4p1:CustomerProductId>
        <d4p1:ServiceNumber>sample string 2</d4p1:ServiceNumber>
      </NewTermNumber>
      <OldService>
        <AddonCatalogTicker>sample string 14</AddonCatalogTicker>
        <AddonCustomerProductId>13</AddonCustomerProductId>
        <AddonExtension>sample string 10</AddonExtension>
        <AddonPartDescription>sample string 12</AddonPartDescription>
        <AddonPartNumber>sample string 11</AddonPartNumber>
        <AddonServiceNumber>sample string 9</AddonServiceNumber>
        <AddonUserPackageId>15</AddonUserPackageId>
        <CatalogTicker>sample string 7</CatalogTicker>
        <CustomerProductId>6</CustomerProductId>
        <EditTermNumber>true</EditTermNumber>
        <Extension>sample string 2</Extension>
        <IsExtensionOnly>3</IsExtensionOnly>
        <LineName>sample string 8</LineName>
        <PartDescription>sample string 5</PartDescription>
        <PartNumber>sample string 4</PartNumber>
        <ServiceNumber>sample string 1</ServiceNumber>
      </OldService>
    </VNServiceUpdate>
  </ServiceList>
</VNUpdateListDTO>

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.