POST api/SupportVendorController/CreateSubSiteVendor

Request Information

URI Parameters

None.

Body Parameters

VendorProfile
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

VendorScale

VendorScale

None.

VendorScaleText

string

None.

VendorCategory

Collection of VendorCategory

None.

VendorLocation

Collection of VendorLocation

None.

VendorCategoryText

string

None.

VendorLocationText

string

None.

VendorDepartment

VendorDepartment

None.

Vendor

Vendor

None.

VendorAddress

string

None.

VendorLegalName

string

None.

VendorLegalRepresentative

string

None.

VendorShortName

string

None.

VendorEnglishName

string

None.

VendorDescription

string

None.

VendorTaxCode

string

None.

VendorFax

string

None.

VendorEmail

string

None.

VendorPhoneNumber

string

None.

VendorName

string

None.

FormContext

FormContext

None.

BackEndUrl

string

None.

Ref

string

None.

Logo

string

None.

VendorWebsite

string

None.

VendorReason

string

None.

DeclareIP

string

None.

VendorStatus

string

None.

ConflictOfInterest

string

None.

RatedCapacity

string

None.

ConflictOfInterestReason

string

None.

RatedCapacityReason

string

None.

IPStatus

string

None.

IPDeclareLastDate

string

None.

UpdateDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "VendorScale": {
    "VendorScaleText": "sample string 1",
    "VendorScaleGuid": "sample string 2"
  },
  "VendorScaleText": "sample string 3",
  "VendorCategory": [
    {
      "VendorCategoryText": "sample string 1",
      "VendorCategoryGuid": "sample string 2"
    },
    {
      "VendorCategoryText": "sample string 1",
      "VendorCategoryGuid": "sample string 2"
    }
  ],
  "VendorLocation": [
    {
      "VendorLocationText": "sample string 1",
      "VendorLocationGuid": "sample string 2"
    },
    {
      "VendorLocationText": "sample string 1",
      "VendorLocationGuid": "sample string 2"
    }
  ],
  "VendorCategoryText": "sample string 4",
  "VendorLocationText": "sample string 5",
  "VendorDepartment": {
    "VendorDepartmentText": "sample string 1",
    "VendorDepartmentGuid": "sample string 2"
  },
  "Vendor": {
    "VendorText": "sample string 1",
    "VendorLGuid": "sample string 2"
  },
  "VendorAddress": "sample string 6",
  "VendorLegalName": "sample string 7",
  "VendorLegalRepresentative": "sample string 8",
  "VendorShortName": "sample string 9",
  "VendorEnglishName": "sample string 10",
  "VendorDescription": "sample string 11",
  "VendorTaxCode": "sample string 12",
  "VendorFax": "sample string 13",
  "VendorEmail": "sample string 14",
  "VendorPhoneNumber": "sample string 15",
  "VendorName": "sample string 16",
  "FormContext": {
    "DisplayMode": "sample string 1",
    "ListName": "sample string 2",
    "ListGuid": "4e6341ee-f82b-41e8-affa-3d5eb6a714f5",
    "HistoryListGuid": "49d93456-5288-4e2a-9154-0c961c820682",
    "ItemId": 5,
    "itemId": "sample string 6",
    "ItemUniqueId": "07ea8c9e-fb4e-4f52-ade2-50876eb4a0de",
    "CurrentUser": {
      "Id": 1,
      "Email": "sample string 2",
      "Username": "sample string 3",
      "DisplayName": "sample string 4",
      "PictureURL": "sample string 5"
    },
    "WebRelativeUrl": "sample string 8",
    "RootSiteUrl": "sample string 9",
    "WebUrl": "sample string 10",
    "DiscussionListGuid": "804a950b-1149-41bf-9a52-db874ca843db",
    "DocLibListGuid": "cae9997d-ed18-4e07-9740-6bb57f2376bc",
    "Settings": {
      "BackendApiUrl": "sample string 1",
      "EOfficeDataSiteUrl": "sample string 2",
      "HTTMSiteURL": "sample string 3"
    },
    "FormItem": {
      "Id": 1,
      "UniqueId": "875d4ccf-3dc8-4ed7-9038-2b91861c6445",
      "Title": "sample string 2",
      "Ref": "sample string 3",
      "Requester": {
        "Id": 1,
        "Email": "sample string 2",
        "Username": "sample string 3",
        "DisplayName": "sample string 4",
        "PictureURL": "sample string 5"
      },
      "FormCode": "sample string 4",
      "FormType": "sample string 5",
      "FormTemplate": "sample string 6",
      "FormNumber": "sample string 7",
      "FormTemplateID": 8,
      "FormTemplateWebGuid": "23954fcd-1a11-467c-93b3-6ab1f2e459c0",
      "FormTemplateSiteGuid": "8045f76b-f5de-459e-be43-69d25367bb94",
      "FormPublishedDate": "2025-07-17T11:31:00.3596918+07:00",
      "ApprovalStatus": "sample string 9",
      "CurrentApprovers": [
        {
          "Id": 1,
          "Email": "sample string 2",
          "Username": "sample string 3",
          "DisplayName": "sample string 4",
          "PictureURL": "sample string 5"
        },
        {
          "Id": 1,
          "Email": "sample string 2",
          "Username": "sample string 3",
          "DisplayName": "sample string 4",
          "PictureURL": "sample string 5"
        }
      ],
      "HistoryListGuid": "7dcca646-4675-4017-b64f-195a8e2aad59",
      "DiscussionListGuid": "a20eebe6-42d8-4b6b-829d-71c01c2a6913",
      "DocLibListGuid": "01c83bb2-82a6-45e0-93a5-4846bb8937a2",
      "FormCategory": "sample string 10",
      "Department": {
        "Label": "sample string 1",
        "TermGuid": "sample string 2",
        "WssId": 3,
        "TypeId": "{19e70ed0-4177-456b-8156-015e4d163ff8}"
      },
      "WFName": "sample string 11",
      "CurrentApproverDueDate": "2025-07-17T11:31:00.3596918+07:00",
      "SubmittedDate": "2025-07-17T11:31:00.3596918+07:00",
      "CurrentGroup": "sample string 12",
      "CurrentApproverJobTitle": "sample string 13",
      "SubmitCounter": 14,
      "EffectiveDate": "2025-07-17T11:31:00.3596918+07:00",
      "IsoNumber": "sample string 15",
      "HasTemplate": "sample string 16",
      "HasIsoNumber": "sample string 17",
      "Group": "sample string 18",
      "DepartmentCode": {},
      "FormSetItemID": "sample string 20",
      "RefDisplayHTML": "sample string 21",
      "MFItem": {
        "Id": 1,
        "Title": "sample string 2",
        "Ref": "sample string 3",
        "SiteGuid": "62e40aaa-04d2-450c-a697-abf4aaf0fbc1",
        "ListGuid": "c89520af-cd87-448e-bcbe-55b2fe551cd6",
        "WebGuid": "a14cdf8f-26fc-4288-b304-d0e7fbdd16e1",
        "ItemId": 7,
        "RefDisplayHTML": "sample string 8",
        "FormCode": "sample string 9",
        "WebUrl": "sample string 10",
        "FormType": "sample string 11"
      },
      "PRItemDetailListGuid": "9df4e880-3ea5-4c7b-ac5e-66478cda137a"
    },
    "ClearAdditionalItemOnly": true,
    "ClearApprovalGroup": true,
    "SiteGuid": "4077de48-014b-431d-a911-d638553e2e89",
    "WebGuid": "89fe6226-15b0-4467-bccd-c92f1ce8a443",
    "SyncPermission": true,
    "ClearApprovalMatrix": true,
    "WFName": "sample string 18",
    "EOfficeDataSiteUrl": "sample string 19",
    "FormCode": "sample string 20",
    "FormType": "sample string 21",
    "KeyValue": "sample string 22",
    "IsGenerateApprovalMatrix": true
  },
  "BackEndUrl": "sample string 17",
  "Ref": "sample string 18",
  "Logo": "sample string 19",
  "VendorWebsite": "sample string 20",
  "VendorReason": "sample string 21",
  "DeclareIP": "sample string 22",
  "VendorStatus": "sample string 23",
  "ConflictOfInterest": "sample string 24",
  "RatedCapacity": "sample string 25",
  "ConflictOfInterestReason": "sample string 26",
  "RatedCapacityReason": "sample string 27",
  "IPStatus": "sample string 28",
  "IPDeclareLastDate": "sample string 29",
  "UpdateDate": "sample string 30"
}

application/xml, text/xml

Sample:
<VendorProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Models">
  <BackEndUrl>sample string 17</BackEndUrl>
  <ConflictOfInterest>sample string 24</ConflictOfInterest>
  <ConflictOfInterestReason>sample string 26</ConflictOfInterestReason>
  <DeclareIP>sample string 22</DeclareIP>
  <FormContext>
    <ClearAdditionalItemOnly>true</ClearAdditionalItemOnly>
    <ClearApprovalGroup>true</ClearApprovalGroup>
    <ClearApprovalMatrix>true</ClearApprovalMatrix>
    <CurrentUser>
      <DisplayName>sample string 4</DisplayName>
      <Email>sample string 2</Email>
      <Id>1</Id>
      <PictureURL>sample string 5</PictureURL>
      <Username>sample string 3</Username>
    </CurrentUser>
    <DiscussionListGuid>804a950b-1149-41bf-9a52-db874ca843db</DiscussionListGuid>
    <DisplayMode>sample string 1</DisplayMode>
    <DocLibListGuid>cae9997d-ed18-4e07-9740-6bb57f2376bc</DocLibListGuid>
    <EOfficeDataSiteUrl>sample string 19</EOfficeDataSiteUrl>
    <FormCode>sample string 20</FormCode>
    <FormItem>
      <ApprovalStatus>sample string 9</ApprovalStatus>
      <CurrentApproverDueDate>2025-07-17T11:31:00.3596918+07:00</CurrentApproverDueDate>
      <CurrentApproverJobTitle>sample string 13</CurrentApproverJobTitle>
      <CurrentApprovers>
        <FormUser>
          <DisplayName>sample string 4</DisplayName>
          <Email>sample string 2</Email>
          <Id>1</Id>
          <PictureURL>sample string 5</PictureURL>
          <Username>sample string 3</Username>
        </FormUser>
        <FormUser>
          <DisplayName>sample string 4</DisplayName>
          <Email>sample string 2</Email>
          <Id>1</Id>
          <PictureURL>sample string 5</PictureURL>
          <Username>sample string 3</Username>
        </FormUser>
      </CurrentApprovers>
      <CurrentGroup>sample string 12</CurrentGroup>
      <Department xmlns:d4p1="http://schemas.datacontract.org/2004/07/Microsoft.SharePoint.Client.Taxonomy">
        <d4p1:Label>sample string 1</d4p1:Label>
        <d4p1:TermGuid>sample string 2</d4p1:TermGuid>
        <d4p1:WssId>3</d4p1:WssId>
      </Department>
      <DiscussionListGuid>a20eebe6-42d8-4b6b-829d-71c01c2a6913</DiscussionListGuid>
      <DocLibListGuid>01c83bb2-82a6-45e0-93a5-4846bb8937a2</DocLibListGuid>
      <EffectiveDate>2025-07-17T11:31:00.3596918+07:00</EffectiveDate>
      <FormCategory>sample string 10</FormCategory>
      <FormCode>sample string 4</FormCode>
      <FormNumber>sample string 7</FormNumber>
      <FormPublishedDate>2025-07-17T11:31:00.3596918+07:00</FormPublishedDate>
      <FormSetItemID>sample string 20</FormSetItemID>
      <FormTemplate>sample string 6</FormTemplate>
      <FormTemplateID>8</FormTemplateID>
      <FormTemplateSiteGuid>8045f76b-f5de-459e-be43-69d25367bb94</FormTemplateSiteGuid>
      <FormTemplateWebGuid>23954fcd-1a11-467c-93b3-6ab1f2e459c0</FormTemplateWebGuid>
      <FormType>sample string 5</FormType>
      <Group>sample string 18</Group>
      <HasIsoNumber>sample string 17</HasIsoNumber>
      <HasTemplate>sample string 16</HasTemplate>
      <HistoryListGuid>7dcca646-4675-4017-b64f-195a8e2aad59</HistoryListGuid>
      <Id>1</Id>
      <IsoNumber>sample string 15</IsoNumber>
      <MFItem xmlns:d4p1="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Services.MFService">
        <d4p1:FormCode>sample string 9</d4p1:FormCode>
        <d4p1:FormType>sample string 11</d4p1:FormType>
        <d4p1:Id>1</d4p1:Id>
        <d4p1:ItemId>7</d4p1:ItemId>
        <d4p1:ListGuid>c89520af-cd87-448e-bcbe-55b2fe551cd6</d4p1:ListGuid>
        <d4p1:Ref>sample string 3</d4p1:Ref>
        <d4p1:RefDisplayHTML>sample string 8</d4p1:RefDisplayHTML>
        <d4p1:SiteGuid>62e40aaa-04d2-450c-a697-abf4aaf0fbc1</d4p1:SiteGuid>
        <d4p1:Title>sample string 2</d4p1:Title>
        <d4p1:WebGuid>a14cdf8f-26fc-4288-b304-d0e7fbdd16e1</d4p1:WebGuid>
        <d4p1:WebUrl>sample string 10</d4p1:WebUrl>
      </MFItem>
      <PRItemDetailListGuid>9df4e880-3ea5-4c7b-ac5e-66478cda137a</PRItemDetailListGuid>
      <Ref>sample string 3</Ref>
      <RefDisplayHTML>sample string 21</RefDisplayHTML>
      <Requester>
        <DisplayName>sample string 4</DisplayName>
        <Email>sample string 2</Email>
        <Id>1</Id>
        <PictureURL>sample string 5</PictureURL>
        <Username>sample string 3</Username>
      </Requester>
      <SubmitCounter>14</SubmitCounter>
      <SubmittedDate>2025-07-17T11:31:00.3596918+07:00</SubmittedDate>
      <Title>sample string 2</Title>
      <UniqueId>875d4ccf-3dc8-4ed7-9038-2b91861c6445</UniqueId>
      <WFName>sample string 11</WFName>
    </FormItem>
    <FormType>sample string 21</FormType>
    <HistoryListGuid>49d93456-5288-4e2a-9154-0c961c820682</HistoryListGuid>
    <IsGenerateApprovalMatrix>true</IsGenerateApprovalMatrix>
    <ItemId>5</ItemId>
    <ItemUniqueId>07ea8c9e-fb4e-4f52-ade2-50876eb4a0de</ItemUniqueId>
    <KeyValue>sample string 22</KeyValue>
    <ListGuid>4e6341ee-f82b-41e8-affa-3d5eb6a714f5</ListGuid>
    <ListName>sample string 2</ListName>
    <RootSiteUrl>sample string 9</RootSiteUrl>
    <Settings>
      <BackendApiUrl>sample string 1</BackendApiUrl>
      <EOfficeDataSiteUrl>sample string 2</EOfficeDataSiteUrl>
      <HTTMSiteURL>sample string 3</HTTMSiteURL>
    </Settings>
    <SiteGuid>4077de48-014b-431d-a911-d638553e2e89</SiteGuid>
    <SyncPermission>true</SyncPermission>
    <WFName>sample string 18</WFName>
    <WebGuid>89fe6226-15b0-4467-bccd-c92f1ce8a443</WebGuid>
    <WebRelativeUrl>sample string 8</WebRelativeUrl>
    <WebUrl>sample string 10</WebUrl>
    <itemId>sample string 6</itemId>
  </FormContext>
  <IPDeclareLastDate>sample string 29</IPDeclareLastDate>
  <IPStatus>sample string 28</IPStatus>
  <Id>1</Id>
  <Logo>sample string 19</Logo>
  <RatedCapacity>sample string 25</RatedCapacity>
  <RatedCapacityReason>sample string 27</RatedCapacityReason>
  <Ref>sample string 18</Ref>
  <Title>sample string 2</Title>
  <UpdateDate>sample string 30</UpdateDate>
  <Vendor>
    <VendorLGuid>sample string 2</VendorLGuid>
    <VendorText>sample string 1</VendorText>
  </Vendor>
  <VendorAddress>sample string 6</VendorAddress>
  <VendorCategory>
    <VendorCategory>
      <VendorCategoryGuid>sample string 2</VendorCategoryGuid>
      <VendorCategoryText>sample string 1</VendorCategoryText>
    </VendorCategory>
    <VendorCategory>
      <VendorCategoryGuid>sample string 2</VendorCategoryGuid>
      <VendorCategoryText>sample string 1</VendorCategoryText>
    </VendorCategory>
  </VendorCategory>
  <VendorCategoryText>sample string 4</VendorCategoryText>
  <VendorDepartment>
    <VendorDepartmentGuid>sample string 2</VendorDepartmentGuid>
    <VendorDepartmentText>sample string 1</VendorDepartmentText>
  </VendorDepartment>
  <VendorDescription>sample string 11</VendorDescription>
  <VendorEmail>sample string 14</VendorEmail>
  <VendorEnglishName>sample string 10</VendorEnglishName>
  <VendorFax>sample string 13</VendorFax>
  <VendorLegalName>sample string 7</VendorLegalName>
  <VendorLegalRepresentative>sample string 8</VendorLegalRepresentative>
  <VendorLocation>
    <VendorLocation>
      <VendorLocationGuid>sample string 2</VendorLocationGuid>
      <VendorLocationText>sample string 1</VendorLocationText>
    </VendorLocation>
    <VendorLocation>
      <VendorLocationGuid>sample string 2</VendorLocationGuid>
      <VendorLocationText>sample string 1</VendorLocationText>
    </VendorLocation>
  </VendorLocation>
  <VendorLocationText>sample string 5</VendorLocationText>
  <VendorName>sample string 16</VendorName>
  <VendorPhoneNumber>sample string 15</VendorPhoneNumber>
  <VendorReason>sample string 21</VendorReason>
  <VendorScale>
    <VendorScaleGuid>sample string 2</VendorScaleGuid>
    <VendorScaleText>sample string 1</VendorScaleText>
  </VendorScale>
  <VendorScaleText>sample string 3</VendorScaleText>
  <VendorShortName>sample string 9</VendorShortName>
  <VendorStatus>sample string 23</VendorStatus>
  <VendorTaxCode>sample string 12</VendorTaxCode>
  <VendorWebsite>sample string 20</VendorWebsite>
</VendorProfile>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VendorProfile'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.