PUT api/v1/Store/{id}
Update Store by Context and Label to the current Agent
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| agentStoreDTO |
Define this parameter in the request body. |
|
| id |
Define this parameter in the request URI. |
Request body formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"ID": 1,
"Context": "sample string 2",
"Label": "sample string 3",
"Values": "sample string 4",
"Created": null,
"Updated": {
"AgentID": 1,
"AgentIDAsText": "1",
"AgentName": null,
"ContactID": 0,
"ContactIDAsText": "0",
"ContactName": null,
"Datetime": null,
"DatetimeAsText": null
}
}
application/xml, text/xml
Sample:
<AgentStoreDTO>
<ID>1</ID>
<Context>sample string 2</Context>
<Label>sample string 3</Label>
<Values>sample string 4</Values>
<Created />
<Updated>
<AgentID>1</AgentID>
<AgentName />
<ContactID>0</ContactID>
<ContactName />
</Updated>
</AgentStoreDTO>
Response Information
Response body formats
application/json, text/json
Sample:
{
"ID": 1,
"Context": "sample string 2",
"Label": "sample string 3",
"Values": "sample string 4",
"Created": null,
"Updated": {
"AgentID": 1,
"AgentIDAsText": "1",
"AgentName": null,
"ContactID": 0,
"ContactIDAsText": "0",
"ContactName": null,
"Datetime": null,
"DatetimeAsText": null
}
}
application/xml, text/xml
Sample:
<AgentStoreDTO>
<ID>1</ID>
<Context>sample string 2</Context>
<Label>sample string 3</Label>
<Values>sample string 4</Values>
<Created />
<Updated>
<AgentID>1</AgentID>
<AgentName />
<ContactID>0</ContactID>
<ContactName />
</Updated>
</AgentStoreDTO>