POST api/SimAdministrator/AssignedInventory

Request Information

URI Parameters

None.

Body Parameters

InventoryAssigned
NameDescriptionTypeAdditional information
InventoryRecordId

globally unique identifier

None.

PersonId

integer

None.

Type

string

None.

StartICCIDNumber

integer

None.

EndICCIDNumber

integer

None.

TotalSim

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "InventoryRecordId": "7a64b577-fe40-4d12-ace3-8cb3c681cd41",
  "PersonId": 2,
  "Type": "sample string 3",
  "StartICCIDNumber": 4,
  "EndICCIDNumber": 5,
  "TotalSim": 6
}

text/html

Sample:
{"InventoryRecordId":"7a64b577-fe40-4d12-ace3-8cb3c681cd41","PersonId":2,"Type":"sample string 3","StartICCIDNumber":4,"EndICCIDNumber":5,"TotalSim":6}

application/xml, text/xml

Sample:
<InventoryAssigned xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <EndICCIDNumber>5</EndICCIDNumber>
  <InventoryRecordId>7a64b577-fe40-4d12-ace3-8cb3c681cd41</InventoryRecordId>
  <PersonId>2</PersonId>
  <StartICCIDNumber>4</StartICCIDNumber>
  <TotalSim>6</TotalSim>
  <Type>sample string 3</Type>
</InventoryAssigned>

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 'InventoryAssigned'.

Response Information

Resource Description

GenericResponse
NameDescriptionTypeAdditional information
Data

Object

None.

Info

string

None.

Error

string

None.

Status

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Info": "sample string 2",
  "Error": "sample string 3",
  "Status": true
}

text/html

Sample:
{"Data":{},"Info":"sample string 2","Error":"sample string 3","Status":true}

application/xml, text/xml

Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <Data />
  <Error>sample string 3</Error>
  <Info>sample string 2</Info>
  <Status>true</Status>
</GenericResponse>