POST api/MethodWeb/PublishMethodPackage

Request Information

URI Parameters

None.

Body Parameters

MethodMetadata
NameDescriptionTypeAdditional information
UploadID

integer

None.

Title

string

None.

UploadType

string

None.

MethodName

string

None.

ServiceLine

string

None.

SubServiceLine

string

None.

Environment

string

None.

StatusID

integer

None.

MethodGuid

globally unique identifier

None.

PackageStatus

integer

None.

PackageXML

Collection of byte

None.

PublishStatus

integer

None.

Content

Collection of byte

None.

ServiceLineCode

string

None.

SubServiceLineCode

string

None.

Created_On

date

None.

Modified_On

date

None.

ExternalId

string

None.

Management

string

None.

Foundation

string

None.

Created

string

None.

Modified

string

None.

Field_Of_Play

string

None.

Solution

string

None.

Service

string

None.

Competency

string

None.

Sector

string

None.

Area

string

None.

Region

string

None.

Country

string

None.

MSC

string

None.

GSC

string

None.

Description

string

None.

Sponser

string

None.

Steward

string

None.

MethodLink

string

None.

Welcome_Image

string

None.

Delivery_Toolkit

string

None.

Resource_Cost_Model

string

None.

Plan_Xlsx

string

None.

Plan_Mpp

string

None.

Name

string

None.

Type

string

None.

Publish

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UploadID": 1,
  "Title": "sample string 2",
  "UploadType": "sample string 3",
  "MethodName": "sample string 4",
  "ServiceLine": "sample string 5",
  "SubServiceLine": "sample string 6",
  "Environment": "sample string 7",
  "StatusID": 8,
  "MethodGuid": "01d87f09-3c4b-4001-a8c1-5ffe33a91108",
  "PackageStatus": 10,
  "PackageXML": "QEA=",
  "PublishStatus": 11,
  "Content": "QEA=",
  "ServiceLineCode": "sample string 12",
  "SubServiceLineCode": "sample string 13",
  "Created_On": "2024-11-07T21:26:45.5148705+00:00",
  "Modified_On": "2024-11-07T21:26:45.5148705+00:00",
  "ExternalId": "sample string 14",
  "Management": "sample string 15",
  "Foundation": "sample string 16",
  "Created": "sample string 17",
  "Modified": "sample string 18",
  "Field_Of_Play": "sample string 19",
  "Solution": "sample string 20",
  "Service": "sample string 21",
  "Competency": "sample string 22",
  "Sector": "sample string 23",
  "Area": "sample string 24",
  "Region": "sample string 25",
  "Country": "sample string 26",
  "MSC": "sample string 27",
  "GSC": "sample string 28",
  "Description": "sample string 29",
  "Sponser": "sample string 30",
  "Steward": "sample string 31",
  "MethodLink": "sample string 32",
  "Welcome_Image": "sample string 33",
  "Delivery_Toolkit": "sample string 34",
  "Resource_Cost_Model": "sample string 35",
  "Plan_Xlsx": "sample string 36",
  "Plan_Mpp": "sample string 37",
  "Name": "sample string 38",
  "Type": "sample string 39",
  "Publish": "sample string 40"
}

application/xml, text/xml

Sample:
<MethodMetadata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EY.GMP.AzureWebAPI">
  <Area>sample string 24</Area>
  <Competency>sample string 22</Competency>
  <Content>QEA=</Content>
  <Country>sample string 26</Country>
  <Created>sample string 17</Created>
  <Created_On>2024-11-07T21:26:45.5148705+00:00</Created_On>
  <Delivery_Toolkit>sample string 34</Delivery_Toolkit>
  <Description>sample string 29</Description>
  <Environment>sample string 7</Environment>
  <ExternalId>sample string 14</ExternalId>
  <Field_Of_Play>sample string 19</Field_Of_Play>
  <Foundation>sample string 16</Foundation>
  <GSC>sample string 28</GSC>
  <MSC>sample string 27</MSC>
  <Management>sample string 15</Management>
  <MethodGuid>01d87f09-3c4b-4001-a8c1-5ffe33a91108</MethodGuid>
  <MethodLink>sample string 32</MethodLink>
  <MethodName>sample string 4</MethodName>
  <Modified>sample string 18</Modified>
  <Modified_On>2024-11-07T21:26:45.5148705+00:00</Modified_On>
  <Name>sample string 38</Name>
  <PackageStatus>10</PackageStatus>
  <PackageXML>QEA=</PackageXML>
  <Plan_Mpp>sample string 37</Plan_Mpp>
  <Plan_Xlsx>sample string 36</Plan_Xlsx>
  <Publish>sample string 40</Publish>
  <PublishStatus>11</PublishStatus>
  <Region>sample string 25</Region>
  <Resource_Cost_Model>sample string 35</Resource_Cost_Model>
  <Sector>sample string 23</Sector>
  <Service>sample string 21</Service>
  <ServiceLine>sample string 5</ServiceLine>
  <ServiceLineCode>sample string 12</ServiceLineCode>
  <Solution>sample string 20</Solution>
  <Sponser>sample string 30</Sponser>
  <StatusID>8</StatusID>
  <Steward>sample string 31</Steward>
  <SubServiceLine>sample string 6</SubServiceLine>
  <SubServiceLineCode>sample string 13</SubServiceLineCode>
  <Title>sample string 2</Title>
  <Type>sample string 39</Type>
  <UploadID>1</UploadID>
  <UploadType>sample string 3</UploadType>
  <Welcome_Image>sample string 33</Welcome_Image>
</MethodMetadata>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

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.