应用到: CRM 2015 on-prem, CRM Online
Http status codes returned by the REST endpoint are described in the following table. The status codes follow RFC 2616 Hypertext Transfer Protocol -- HTTP/1.1.
| Status Code | Text | Cause | 
|---|---|---|
| 200 | OK | The request is served. | 
| 400 | Bad Request | The request could not be parsed successfully because of a syntactically or semantically incorrect URI. | 
| 401 | Unauthorized | Authentication is required and has not been provided. | 
| 403 | Forbidden | User does not have privileges to access the entity | 
| 404 | Record Not Found | The record does not exist for the given query. | 
| 405 | Method Not Allowed | A request cannot be used for this record. | 
| 406 | Not Acceptable | The requested format specified in the accept header cannot be satisfied for the entity/entity container/entity set. | 
| 413 | Request Entity Too Large | The request attempts to set too much data, or the requested range contains too many rows, returned data is too big. | 
| 500 | Internal Server Error | Internal Error | 
| 503 | Service Unavailable | Service Unavailable | 
另请参阅
参考
OData endpoint Http status codes
概念
与 Ajax 和 JScript Web 资源一起使用 OData 终结点
将 OData 终结点用于 Web 资源
使用 OData 终结点执行基本数据操作
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.