GET | /customer/agentstatusset/{StatusId} | Set agent status |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customer/agentstatusset/{StatusId} HTTP/1.1 Host: api.systematix.solutions Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <AgentStatusGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systematix.ExternalAPI.Model"> <AgentStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systematix.Portal.ServiceModel.DTO"> <d2p1:AgentKey>String</d2p1:AgentKey> <d2p1:AgentRef>String</d2p1:AgentRef> <d2p1:AgentStatusSubscriptionKey>String</d2p1:AgentStatusSubscriptionKey> <d2p1:BusySeconds>0</d2p1:BusySeconds> <d2p1:BusyStart>0001-01-01T00:00:00</d2p1:BusyStart> <d2p1:CamDeviceStatusId>0</d2p1:CamDeviceStatusId> <d2p1:ChatAvailable>false</d2p1:ChatAvailable> <d2p1:ChatEnabled>false</d2p1:ChatEnabled> <d2p1:HasAudio>false</d2p1:HasAudio> <d2p1:ImageUrl>String</d2p1:ImageUrl> <d2p1:IntroText>String</d2p1:IntroText> <d2p1:MessagingEnabled>false</d2p1:MessagingEnabled> <d2p1:Name>String</d2p1:Name> <d2p1:NickName>String</d2p1:NickName> <d2p1:ProfileImageAltText>String</d2p1:ProfileImageAltText> <d2p1:ProfileText>String</d2p1:ProfileText> <d2p1:ReviewCount>0</d2p1:ReviewCount> <d2p1:ReviewScoreTotal>0</d2p1:ReviewScoreTotal> <d2p1:StateId>0</d2p1:StateId> <d2p1:StateName>String</d2p1:StateName> <d2p1:StatusId>0</d2p1:StatusId> <d2p1:StatusName>String</d2p1:StatusName> <d2p1:Tariff>0</d2p1:Tariff> </AgentStatus> </AgentStatusGetResponse>