POST api/CodeAndBatches/SaveBatch

Request Information

URI Parameters

None.

Body Parameters

SaveBatchRequestVM
NameDescriptionTypeAdditional information
SubAccountId

string

Required

UserId

string

Required

Name

string

Required

Description

string

None.

Reference

string

None.

TotalCodes

integer

Required

IsActive

boolean

None.

GeoLocation

boolean

None.

CustomDomainId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SubAccountId": "sample string 1",
  "UserId": "sample string 2",
  "Name": "sample string 3",
  "Description": "sample string 4",
  "Reference": "sample string 5",
  "TotalCodes": 6,
  "IsActive": true,
  "GeoLocation": true,
  "CustomDomainId": "sample string 9"
}

application/xml, text/xml

Sample:
<SaveBatchRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels">
  <CustomDomainId>sample string 9</CustomDomainId>
  <Description>sample string 4</Description>
  <GeoLocation>true</GeoLocation>
  <IsActive>true</IsActive>
  <Name>sample string 3</Name>
  <Reference>sample string 5</Reference>
  <SubAccountId>sample string 1</SubAccountId>
  <TotalCodes>6</TotalCodes>
  <UserId>sample string 2</UserId>
</SaveBatchRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.